diff --git a/src/util/Formatters.js b/src/util/Formatters.js index 1b5f518..439a517 100644 --- a/src/util/Formatters.js +++ b/src/util/Formatters.js @@ -18,7 +18,6 @@ const { TimestampStyles, underscore, userMention, - chatInputApplicationCommandMention, } = require('@discordjs/builders'); /** @@ -66,7 +65,22 @@ Formatters.channelMention = channelMention; * @returns {string} * @static */ -Formatters.chatInputApplicationCommandMention = chatInputApplicationCommandMention; +Formatters.chatInputApplicationCommandMention = function chatInputApplicationCommandMention( + commandName, + subcommandGroupOrSubOrId, + subcommandNameOrId, + commandId, +) { + if (typeof commandId !== 'undefined') { + return ``; + } + + if (typeof subcommandNameOrId !== 'undefined') { + return ``; + } + + return ``; +}; /** * Wraps the content inside a code block with an optional language.