diff --git a/main.ts b/main.ts index 1d10796..3ede523 100644 --- a/main.ts +++ b/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); }