hide non allowed channel warning messages
This commit is contained in:
14 files changed
+14
-14
No files matched your search
+1
-1
@@ -37,7 +37,7 @@ module.exports = {
|
||||
*/
|
||||
run: async (client, interaction, args, { GuildDB }) => {
|
||||
if (GuildDB.customChannelStatus==true&&!GuildDB.allowedChannels.includes(interaction.channel_id)) {
|
||||
return interaction.send({ content: `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) });
|
||||
}
|
||||
|
||||
const userID = interaction.member.user.id;
|
||||
|
||||
Reference in new issue
Block a user