its the speaking aprt

This commit is contained in:
Juni
2022-04-10 16:12:28 -04:00
parent 3dc82ecb75
commit aa8a418761

View File

@@ -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')
if str(payload.emoji) == ':speech_ballon:':
self.bot.get_channel(payload.channel_id).send('speech')