Discord Developer Portal - API Docs for Bots and Developers
import discord
client = discord.Client()
@client.event
async def on_ready():
print("logged in as {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("안녕? 나 봇이야!")
client.run("토큰")