Help getting my bot running


Hello I’m trying to create a bot that gets a table with the damage done of a log, I tried the following:

import discord
import requests

TOKEN = // My bot token
api_key = /My WarcraftLog key
client = discord.Client()

async def on_ready():
print('Logged in as')

async  def  on_message(message):
if == client.user:
if message.content.startswith('!log'):
    requests.get("" + api_key)

The script compiles but when I do !log the bots does nothing, what else do I need to make this works? Also what result should I expect? The bot creating a table designed like the warcraftlog original? What more do I need?

Thanks, need a lot of help