Advertisement
Guest User

help.

a guest
Jan 20th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. #secrets is just a file with the token.
  2.  
  3. import asyncio
  4.  
  5. import discord
  6.  
  7. import secrets
  8.  
  9. client = discord.client
  10.  
  11.  
  12. @client.event
  13. @asyncio.coroutine
  14. def on_ready():
  15.     print('Bot is ready')
  16.  
  17.  
  18. client.run(secrets.TOKEN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement