added self to on_reaction_add()
This commit is contained in:
parent
8a0e74a633
commit
64810982fa
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ class ChatGPT(commands.Cog):
|
||||||
self.bot.logger.exception("Problem with chat_response in chatgpt")
|
self.bot.logger.exception("Problem with chat_response in chatgpt")
|
||||||
|
|
||||||
@commands.Cog.listener()
|
@commands.Cog.listener()
|
||||||
async def on_reaction_add(reaction, user):
|
async def on_reaction_add(self, reaction, user):
|
||||||
if not random.randint(0,9):
|
if not random.randint(0,9):
|
||||||
message = reaction.message
|
message = reaction.message
|
||||||
emoji = reaction.emoji
|
emoji = reaction.emoji
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue