From 150b5d45dd6e5fd3aed5194f6c6968ffc6f262f1 Mon Sep 17 00:00:00 2001 From: LTS20050703 Date: Mon, 12 Sep 2022 23:56:07 +0700 Subject: [PATCH] Release: Discordeno@15.0.0 (#2462) --- tests/channels/editChannelWithReason.test.ts | 3 +-- util/constants.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/channels/editChannelWithReason.test.ts b/tests/channels/editChannelWithReason.test.ts index 011e733bb..7c1384c43 100644 --- a/tests/channels/editChannelWithReason.test.ts +++ b/tests/channels/editChannelWithReason.test.ts @@ -25,8 +25,7 @@ Deno.test({ await t.step("[channel] change the channel to a news channel with a reason", async () => { const editedChannel = await bot.helpers.editChannel( channel.id, - { type: ChannelTypes.GuildAnnouncement }, - "reason", + { type: ChannelTypes.GuildAnnouncement, reason: "reason" }, ); assertEquals(editedChannel.type, ChannelTypes.GuildAnnouncement); }); diff --git a/util/constants.ts b/util/constants.ts index 0f73882c6..5b8b84eae 100644 --- a/util/constants.ts +++ b/util/constants.ts @@ -6,7 +6,7 @@ export const API_VERSION = 10; // TODO: update this version /** https://github.com/discordeno/discordeno/releases */ -export const DISCORDENO_VERSION = "14.0.1"; +export const DISCORDENO_VERSION = "15.0.0"; /** https://discord.com/developers/docs/reference#user-agent */ export const USER_AGENT = `DiscordBot (https://github.com/discordeno/discordeno, v${DISCORDENO_VERSION})`;