From 295e56b30b6591ad64e677241f5dd200ccaf02ee Mon Sep 17 00:00:00 2001 From: ScriptHosT12 <30875598+ScriptHosT12@users.noreply.github.com> Date: Wed, 12 Jun 2019 19:03:39 +0100 Subject: [PATCH] Update to latest version (rewrite) --- src/snippets/discordpy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snippets/discordpy.js b/src/snippets/discordpy.js index fbc4cc1..64b1382 100644 --- a/src/snippets/discordpy.js +++ b/src/snippets/discordpy.js @@ -94,7 +94,7 @@ export default { content: data.content ? JSON.stringify(data.content) : null, embed: data.embed ? 'embed' : null }; - result.push(`await bot.say(${pythonKwargs(args)})`); + result.push(`await ctx.send(${pythonKwargs(args)})`); } return result.join('\n');