From f06f73f7399d5b005883ecdd6cf21d7614ccd44e Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 27 Mar 2022 22:32:18 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=80=D0=B0,=20=D1=84=D0=B8=D0=BA=D1=81?= =?UTF-8?q?=20=D0=B2=D0=B5=D0=BA=D0=BE=D0=B2=D0=BE=D0=B9=20=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=B1=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Administration/setbirthdays.js | 2 +- commands/Administration/setmodlogs.js | 2 +- commands/Administration/setreports.js | 2 +- commands/Administration/setsuggests.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/Administration/setbirthdays.js b/commands/Administration/setbirthdays.js index daf55a00..660d9091 100644 --- a/commands/Administration/setbirthdays.js +++ b/commands/Administration/setbirthdays.js @@ -22,7 +22,7 @@ class Setbirthdays extends Command { const sentChannel = await Resolvers.resolveChannel({ message, search: args.join(" "), - channelType: "text" + channelType: "GUILD_TEXT" }); if (!sentChannel && areBirthdaysEnabled) { diff --git a/commands/Administration/setmodlogs.js b/commands/Administration/setmodlogs.js index 3cd7f371..6a5cc145 100644 --- a/commands/Administration/setmodlogs.js +++ b/commands/Administration/setmodlogs.js @@ -22,7 +22,7 @@ class Setmodlogs extends Command { const sentChannel = await Resolvers.resolveChannel({ message, search: args.join(" "), - channelType: "text" + channelType: "GUILD_TEXT" }); if (!sentChannel && areModLogsEnabled) { diff --git a/commands/Administration/setreports.js b/commands/Administration/setreports.js index c167d77c..7e73f550 100644 --- a/commands/Administration/setreports.js +++ b/commands/Administration/setreports.js @@ -22,7 +22,7 @@ class Setreports extends Command { const sentChannel = await Resolvers.resolveChannel({ message, search: args.join(" "), - channelType: "text" + channelType: "GUILD_TEXT" }); if (!sentChannel && areReportsEnabled) { diff --git a/commands/Administration/setsuggests.js b/commands/Administration/setsuggests.js index 4f92495e..5bdf3664 100644 --- a/commands/Administration/setsuggests.js +++ b/commands/Administration/setsuggests.js @@ -22,7 +22,7 @@ class Setsuggests extends Command { const sentChannel = await Resolvers.resolveChannel({ message, search: args.join(" "), - channelType: "text" + channelType: "GUILD_TEXT" }); if (!sentChannel && areSuggestsEnabled) {