diff --git a/src/modules/general.js b/src/modules/general.js index 54a4834..fa5a19b 100644 --- a/src/modules/general.js +++ b/src/modules/general.js @@ -152,9 +152,7 @@ hf.registerCommand(ping); const invite = new Command("invite"); invite.category = CATEGORY; invite.helpText = "Returns invite link for the bot."; -invite.callback = function (msg) { - msg.channel.createMessage( - `` - ); +invite.callback = function () { + return ``; }; hf.registerCommand(invite);