commit | 088b1b217a050f8e5e0530b021f11d30d94e3477 | [log] [tgz] |
---|---|---|
author | TheCodedProf <samuel.shuert@gmail.com> | Tue Feb 28 17:31:11 2023 -0500 |
committer | TheCodedProf <samuel.shuert@gmail.com> | Tue Feb 28 17:31:11 2023 -0500 |
tree | 1a96987bbd06fa5730440782ac4ea5ec010ace0e | |
parent | de618c4488b283dce32450e735a0ead8e4845b29 [diff] [blame] |
made minor fixed
diff --git a/src/commands/mod/purge.ts b/src/commands/mod/purge.ts index 37b703e..8644e26 100644 --- a/src/commands/mod/purge.ts +++ b/src/commands/mod/purge.ts
@@ -29,7 +29,7 @@ if (!interaction.guild) return; const user = (interaction.options.getMember("user") as GuildMember | null); const channel = interaction.channel as GuildChannel; - if (channel.isTextBased()) { + if (!channel.isTextBased()) { return await interaction.reply({ embeds: [ new EmojiEmbed()