Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import discord
- import asyncio
- client = discord.Client()
- @client.event
- async def on_ready():
- print('Connected!')
- print('Username: ' + client.user.name)
- print('ID: ' + client.user.id)
- @client.event
- async def on_message(message):
- client.run('token')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement