hide non allowed channel warning messages

This commit is contained in:
SowinskiBraeden committed 2022-12-06 20:49:40 -08:00
1 parent 89b0c06cdf
commit 0b63a971da
14 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ module.exports = {
*/
run: async (client, interaction, args, { GuildDB }) => {
if (GuildDB.customChannelStatus && !GuildDB.allowedChannels.includes(interaction.channel_id)) {
return interaction.send(`You are not allowed to use the bot in this channel.`);
return interaction.send({ content: `You are not allowed to use the bot in this channel.`, flags: (1 << 6) });
}
if (args[0].name == 'list') {