From 7bdf7c5c41260adc5d06ecbfcde88c569fbd7eb4 Mon Sep 17 00:00:00 2001 From: Nihaal Sangha <18350092+OrangutanGaming@users.noreply.github.com> Date: Sat, 18 May 2019 16:27:22 +0100 Subject: [PATCH] Updated discord.py snippet --- 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..47c510f 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 channel.send(${pythonKwargs(args)})`); } return result.join('\n');