title: I'm very new to making discord bots with python and for some reason the bot doesn't respond to commands
body: <p>As described in the title, I am new to Python(programming in general) and I tried making a bot, however the bot does not respond to commands. I followed/looked through multiple youtube tutorials &amp; articles, but I cannot find a way to fix my problem.</p>
  <pre><code>import discord
  from discord.ext.commands import Bot
  
  bot = Bot(&quot;.&quot;)
  
  @bot.event
  async def on_ready():
      print(&quot;kram is now online&quot;)
      await bot.change_presence(activity=discord.Game(name=&quot;This bot is a WIP&quot;))
  
  @bot.event
  async def on_message(message):
      if message.author == bot.user:
  
          @bot.command(aliases=[&quot;gp&quot;])
          async def ghostping(ctx, amount=2):
              await ctx.send(&quot;@everyone&quot;)
              await ctx.channel.purge(limit = amount)
  
          @bot.command()
          async def help(ctx):
              await ctx.send(&quot;As of right now, .gp is the only working command.&quot;)
  
  bot.run(&quot;I'm hiding my token&quot;)
  </code></pre>