title: How to add role to person after saying smth
body: <pre><code>from discord.ext import commands
  from discord.utils import get
  
  client = discord.Client()
  ROLE = 'SPECIAL'
  BOT_PREFIX = '/'
  bot = commands.Bot(command_prefix=BOT_PREFIX)
  
  @client.event
  async def on_ready():
      print('We have logged in as {0.user}'.format(client))
  
  
  @client.event
  async def on_message(message, member):
      if message.author == client.user:
          return
  
      if message.author.name == &quot;Pawlu_il_Fenku&quot;:
          await message.channel.send('Hello!')
          role = get(member.guild.roles, name=ROLE)
          await member.add_roles(role)
          print(f&quot;{member} was given {role}&quot;)
  
  
  client.run('NzY0MjA1MzA1MjQwMjIzNzQ0.X4C3pw.5RmXn1XswHCTWwOQ5i1v5lH5B6I')
  </code></pre>
  <p>when i run it and type something it gives me this:</p>
  <pre><code>Ignoring exception in on_message
  Traceback (most recent call last):
    File &quot;C:\Users\jpbay\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\client.py&quot;, line 333, in _run_event
      await coro(*args, **kwargs)
  TypeError: on_message() missing 1 required positional argument: 'member'
  </code></pre>
  <p>any help?</p>