Skip to content

Commit

Permalink
Do not reply to people incorrectly addressing oaf who also have it bl…
Browse files Browse the repository at this point in the history
…ocked
  • Loading branch information
gausie committed Nov 19, 2023
1 parent 1f8bd0f commit eff7adf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/commands/wiki/wiki.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ async function onMessage(message: Message) {
await message.react("<:kol_mad:516763545657016320>");
} catch (error) {
discordClient.alert("Please give me permissions to react to messages!");
return await message.reply(
"You blocked me <:kol_mad:516763545657016320>",
);
}
const slashCommand = inlineCode(`/wiki ${matches[0][1]}`);
slashNote = `Remember, for this query you could have just run ${slashCommand}\n\n`;
Expand Down

0 comments on commit eff7adf

Please sign in to comment.