Ура, фикс вековой ошибки

This commit is contained in:
JonnyBro 2022-03-27 22:32:18 +05:00
parent 368f8aa95e
commit f06f73f739
4 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@ class Setbirthdays extends Command {
const sentChannel = await Resolvers.resolveChannel({ const sentChannel = await Resolvers.resolveChannel({
message, message,
search: args.join(" "), search: args.join(" "),
channelType: "text" channelType: "GUILD_TEXT"
}); });
if (!sentChannel && areBirthdaysEnabled) { if (!sentChannel && areBirthdaysEnabled) {

View file

@ -22,7 +22,7 @@ class Setmodlogs extends Command {
const sentChannel = await Resolvers.resolveChannel({ const sentChannel = await Resolvers.resolveChannel({
message, message,
search: args.join(" "), search: args.join(" "),
channelType: "text" channelType: "GUILD_TEXT"
}); });
if (!sentChannel && areModLogsEnabled) { if (!sentChannel && areModLogsEnabled) {

View file

@ -22,7 +22,7 @@ class Setreports extends Command {
const sentChannel = await Resolvers.resolveChannel({ const sentChannel = await Resolvers.resolveChannel({
message, message,
search: args.join(" "), search: args.join(" "),
channelType: "text" channelType: "GUILD_TEXT"
}); });
if (!sentChannel && areReportsEnabled) { if (!sentChannel && areReportsEnabled) {

View file

@ -22,7 +22,7 @@ class Setsuggests extends Command {
const sentChannel = await Resolvers.resolveChannel({ const sentChannel = await Resolvers.resolveChannel({
message, message,
search: args.join(" "), search: args.join(" "),
channelType: "text" channelType: "GUILD_TEXT"
}); });
if (!sentChannel && areSuggestsEnabled) { if (!sentChannel && areSuggestsEnabled) {