generated from nhcarrigan/template
chore: no pings pls
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
# Code of Conduct
|
||||||
|
|
||||||
|
Our Code of Conduct can be found here: https://docs.nhcarrigan.com/#/coc
|
||||||
@@ -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 rank #${sorted.indexOf(yourScore).toString()} with ${yourScore.points.toString()} points.`
|
||||||
: "You are not ranked. Try throwing some stuff!";
|
: "You are not ranked. Try throwing some stuff!";
|
||||||
await interaction.editReply({
|
await interaction.editReply({
|
||||||
|
allowedMentions: {
|
||||||
|
parse: [],
|
||||||
|
},
|
||||||
components: [
|
components: [
|
||||||
{
|
{
|
||||||
// eslint-disable-next-line @typescript-eslint/naming-convention -- Discord API convention.
|
// eslint-disable-next-line @typescript-eslint/naming-convention -- Discord API convention.
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ export const throwCmd: Command = async(pavelle, interaction) => {
|
|||||||
);
|
);
|
||||||
await interaction.editReply({
|
await interaction.editReply({
|
||||||
allowedMentions: {
|
allowedMentions: {
|
||||||
parse: [ "users" ],
|
parse: [ ],
|
||||||
},
|
},
|
||||||
components: components,
|
components: components,
|
||||||
flags: [ MessageFlags.IsComponentsV2 ],
|
flags: [ MessageFlags.IsComponentsV2 ],
|
||||||
|
|||||||
Reference in New Issue
Block a user