Created
June 18, 2020 18:00
-
-
Save RealCyGuy/285fb787017eeb67c892cb405fae5ce6 to your computer and use it in GitHub Desktop.
Discord bot: https://discord.com/api/oauth2/authorize?client_id=715699355268677722&permissions=2048&scope=bot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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