disable ping reply

master
Chloe Fontenot 🏳️‍⚧️ 2023-04-03 19:43:19 +07:00
parent 4c638e7b13
commit f74131566b
1 changed files with 3 additions and 1 deletions

@ -1,3 +1,5 @@
import { MessageMentionOptions } from "discord.js";
// Require the necessary discord.js classes
const { Client, Events, GatewayIntentBits, REST, Routes, Collection, FLAGS } = require('discord.js');
const Discord = require('discord.js');
@ -99,7 +101,7 @@ function replyMessage(message, correctedMessage, abbrsUsed) {
} else {
plural = abbrsUsed + " acronyms"
}
message.reply("Your message contains " + plural + "! Let me fix that for you: \n > " + correctedMessage + "\n \n \|\|btw I was written by Caleb Fontenot\|\|", {allowedMentions: { repliedUser: false }});
message.reply({content: "Your message contains " + plural + "! Let me fix that for you: \n > " + correctedMessage + "\n \n \|\|btw I was written by Caleb Fontenot\|\|", repliedUser: false } as MessageMentionOptions);
}