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 ],