From 71566a83ed3350a425cbefe9be3d762516241e35 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Fri, 15 Aug 2025 00:08:10 -0700 Subject: [PATCH] chore: no pings pls --- #CODE_OF_CONDUCT.md# | 3 +++ src/commands/leaderboard.ts | 3 +++ src/commands/throwCmd.ts | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 #CODE_OF_CONDUCT.md# diff --git a/#CODE_OF_CONDUCT.md# b/#CODE_OF_CONDUCT.md# new file mode 100644 index 0000000..a3bbfe2 --- /dev/null +++ b/#CODE_OF_CONDUCT.md# @@ -0,0 +1,3 @@ +# Code of Conduct + +Our Code of Conduct can be found here: https://docs.nhcarrigan.com/#/coc diff --git a/src/commands/leaderboard.ts b/src/commands/leaderboard.ts index 00c6ca2..9b648d6 100644 --- a/src/commands/leaderboard.ts +++ b/src/commands/leaderboard.ts @@ -37,6 +37,9 @@ export const leaderboard: Command = async(pavelle, interaction) => { ? `You are rank #${sorted.indexOf(yourScore).toString()} with ${yourScore.points.toString()} points.` : "You are not ranked. Try throwing some stuff!"; await interaction.editReply({ + allowedMentions: { + parse: [], + }, components: [ { // eslint-disable-next-line @typescript-eslint/naming-convention -- Discord API convention. diff --git a/src/commands/throwCmd.ts b/src/commands/throwCmd.ts index 40c3ab0..8f8d5cb 100644 --- a/src/commands/throwCmd.ts +++ b/src/commands/throwCmd.ts @@ -87,7 +87,7 @@ export const throwCmd: Command = async(pavelle, interaction) => { ); await interaction.editReply({ allowedMentions: { - parse: [ "users" ], + parse: [ ], }, components: components, flags: [ MessageFlags.IsComponentsV2 ],