From 0f1e61af99a5bc57ccf454af6672d810609bd32b Mon Sep 17 00:00:00 2001 From: monty Date: Thu, 21 Nov 2019 13:40:39 +0100 Subject: [PATCH] fix bug report command --- DiscordModules/General/bug.js | 2 +- DiscordModules/General/suggest.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DiscordModules/General/bug.js b/DiscordModules/General/bug.js index cfcb453..3c4c869 100644 --- a/DiscordModules/General/bug.js +++ b/DiscordModules/General/bug.js @@ -22,7 +22,7 @@ module.exports = class Bug extends Command { `Please make sure to make your Suggestion as Detailed as possible.\n\nAbuse of this command will lead to complete denial of command usage.` ); if (ctx.args.length < 1) { - return m.channel.send(abuse); + return ctx.send(abuse); } ctx.trello diff --git a/DiscordModules/General/suggest.js b/DiscordModules/General/suggest.js index 6436b37..d75f1bc 100644 --- a/DiscordModules/General/suggest.js +++ b/DiscordModules/General/suggest.js @@ -22,7 +22,7 @@ module.exports = class Suggest extends Command { `Please make sure to make your Suggestion as Detailed as possible.\n\nAbuse of this command will lead to complete denial of command usage.` ); if (ctx.args.length < 1) { - return m.channel.send(abuse); + return ctx.send(abuse); } ctx.trello