Skip to content

Instantly share code, notes, and snippets.

@RealCyGuy
Created June 18, 2020 18:00
Show Gist options
  • Save RealCyGuy/285fb787017eeb67c892cb405fae5ce6 to your computer and use it in GitHub Desktop.
Save RealCyGuy/285fb787017eeb67c892cb405fae5ce6 to your computer and use it in GitHub Desktop.
token = "" # no read >:(
import discord
client = discord.Client()
@client.event
async def on_message(message):
if message.author == client.user:
return
if message.content.lower() == 'hi':
await message.channel.send(f'hi {message.author.mention}')
client.run(token)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment