title: @client.event not triggered (discord.py)
body: <pre><code>from keepawake import keepawake
  import os
  import requests
  import discord
  from discord import Webhook, RequestsWebhookAdapter, File
  import time
  from discord.ext import commands
  
  webhook = Webhook.partial(863030277597036574,os.environ['WTOKEN'],\
   adapter=RequestsWebhookAdapter())
   
  
  client = commands.Bot(command_prefix=&quot;!&quot;)
  
  
  
  
  
  votecount = 0
  vote = None
  
  @client.command()
  
  async def votekick(ctx, member : discord.Member, *, reason=&quot;inconnue&quot;):
   emojis = ['✅', '❌']
   adminBug = client.get_channel(863158034292801577)
   message = await ctx.send(&quot;voulez vous kick &quot;+str(member)[:-5]+&quot;?&quot; f&quot;                        raison du vote: {reason}&quot;)
   
   for emoji in emojis:
       await message.add_reaction(emoji)
   
   
   @client.event   
   async def on_reaction_add(reaction, user):
      emoji = reaction.emoji
      if user.bot:
          return
      if emoji == &quot;&quot;:
          fixed_channel = client.get_channel(863158034292801577)
          await fixed_channel.send(&quot;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&quot;)
      elif emoji == &quot;✅&quot;:
          vote = True
      elif emoji == &quot;❌&quot;:
          vote = False
      else:
       return
  </code></pre>
  <hr />
  <pre><code>@client.event  
  async def kick(ctx):
     print(vote)
     if vote == True :  
       if reason == None: 
         reason = &quot;raison inconnue&quot;
       message = f&quot;Tu a été banni(e) de {ctx.guild.name} pour {reason}&quot;
       await member.send(message)
       await member.kick(reason=reason)
       await ctx.send(f&quot;{member} a été éjecté du serveur!&quot;)
     else:
       await ctx.send(f&quot;{member} ne sera pas kick.&quot;) 
  </code></pre>
  <p>I'm trying to make a discord bot to ban or kick peoples by voting but the second part of the code is not doing anything (like printing &quot;vote&quot;) but the first part is working.
  I don't know much things about discord.py so I don't know how to make the second part execute by itself after the first part(on_reaction_add) finished running.</p>