From cc4d882d7ac18e5abe71209950d0abddd7b2390a Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Wed, 26 May 2021 12:51:14 -0600 Subject: [PATCH] general.invite: use return --- src/modules/general.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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);