diff --git a/reactquote/reactquote.py b/reactquote/reactquote.py index 4f13e28..67f7c25 100644 --- a/reactquote/reactquote.py +++ b/reactquote/reactquote.py @@ -26,7 +26,7 @@ class ReactQuote(commands.Cog): @commands.Cog.listener("on_raw_reaction_add") async def on_raw_reaction_add(self, payload:discord.RawReactionActionEvent): message = await self.bot.get_channel(payload.channel_id).fetch_message(payload.message_id) - message.channel.send("Did I work") + await message.channel.send("Did I work") """On React""" if str(payload.emoji) == '💬': message: discord.Message = await self.bot.get_channel(payload.channel_id).fetch_message(payload.message_id) @@ -36,4 +36,4 @@ class ReactQuote(commands.Cog): @commands.Cog.listener() async def on_reaction_add(self, reaction: discord.Reaction, user: discord.User): - reaction.message.channel.send("Did I work2") \ No newline at end of file + await reaction.message.channel.send("Did I work2") \ No newline at end of file