title: Why is my discord bot spamming?
body: <p>I have previously posted on this same bot and got it working thanks to the people who responded. But, while it finally came to life and turned on, it started spamming messages for no apparent reason. I've looked over the code for typos and can't find any.
  Here's the code:</p>
  
  <pre><code>import discord
  from discord.ext.commands import bot
  from discord.ext import commands
  import asyncio
  import time
  
  Client = discord.Client()
  client = commands.Bot (command_prefix = discord)
  
  @client.event
  async def on_ready() :
          print("Bepis machine fixed")
  
  @client.event
     async def on_message(message) :
             if message.content == "bepis" :
                  await client.send_message (message.channel, "bepis")
  
  
  
  client.run("Censored Bot Token")
  </code></pre>
  
  <p>after @client.event is where i need help. also the bottom line if fine this time! turns out i had hit the space bar before the parenthesis and it didn't like that. Help is very appreciated so i can continue adding on to this awesome bot.</p>