From aa8a4187617d3f327114b61e399d458f2dcca8ad Mon Sep 17 00:00:00 2001 From: Juni Date: Sun, 10 Apr 2022 16:12:28 -0400 Subject: [PATCH] its the speaking aprt --- reactquote/reactquote.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactquote/reactquote.py b/reactquote/reactquote.py index 2129924..15b0dab 100644 --- a/reactquote/reactquote.py +++ b/reactquote/reactquote.py @@ -26,4 +26,5 @@ class ReactQuote(commands.Cog): @commands.Cog.listener() async def on_raw_reaction_add(self, payload:discord.RawReactionActionEvent): """On React""" - self.bot.get_channel(payload.channel_id).send('speech') \ No newline at end of file + if str(payload.emoji) == ':speech_ballon:': + self.bot.get_channel(payload.channel_id).send('speech') \ No newline at end of file