We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 829ac59 commit d268203Copy full SHA for d268203
app/services/discord/modules/shitposting.ts
@@ -415,7 +415,7 @@ export default async (bot: DiscordBot) => {
415
msg.content.toLowerCase()
416
);
417
const isChatChannel = bot.config.channels.chat === msg.channelId;
418
- const isBot = msg.author.id === id;
+ const isBot = msg.author.id === id || msg.author.bot;
419
const isMention = msg.mentions.users.first()?.id === id;
420
const isAllowedChannel = bot.config.bot.allowedShitpostingChannels.includes(msg.channelId);
421
const isHidden = msg.guild
0 commit comments