disable ping reply
This commit is contained in:
parent
3061b8a833
commit
4a225f7997
4
main.ts
4
main.ts
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user