<filename>main.py
import os
import discord
my_secret = os.environ['TOKEN']

client = discord.Client()

@client.event
async def on_ready():
  print('im here {0.user}'.format(client))

@client.event
async def on_message(message):
  if message.author == client.user:
    return

  if message.content.startswith('$hello'):
    await message.channel.send('Hello <NAME> !')
  
  if message.content.startswith('$author'):
    await message.channel.send('My author is ekovegeance')

client.run(os.environ['TOKEN'])
<filename>main.py
import os
import discord
my_secret = os.environ['TOKEN']

client = discord.Client()

@client.event
async def on_ready():
  print('im here {0.user}'.format(client))

@client.event
async def on_message(message):
  if message.author == client.user:
    return

  if message.content.startswith('$hello'):
    await message.channel.send('Hello <NAME> !')
  
  if message.content.startswith('$author'):
    await message.channel.send('My author is ekovegeance')

client.run(os.environ['TOKEN'])