Skip to content

Commit

Permalink
patch: remove incompatible comparison
Browse files Browse the repository at this point in the history
* Properly compare string to string, not boolean to string
  • Loading branch information
totallytavi authored Jan 10, 2025
1 parent e2abcb6 commit 96f60f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ client.on('interactionCreate', async (interaction): Promise<void> => {
client.on('messageCreate', async (message): Promise<void> => {
if (message.guild.id != config.discord.mainServer || message.channel.isDMBased()) return;
if (message.author.bot) return;
if (!message.channel.name !== '📌reports') return;
if (message.channel.name !== '📌reports') return;
// Message handler
const denied = '<:denied:1095481555431997460>';
let refMessage: Message;
Expand Down

0 comments on commit 96f60f4

Please sign in to comment.