Code has been added to clipboard!

How to Make a Discord Bot: Responding Bots

Example
@client.event
async def on_message(message):
    if message.author == client.user:
        return
    if message.content == "Hello":
        await client.send_message(channel, "Buzz buzz!")