Advertisement
Guest User

Untitled

a guest
Aug 13th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. import discord
  2. import random
  3.  
  4. client = discord.Client()
  5.  
  6. @Client.event
  7. async def on_ready():
  8. #information
  9. print('Logged in as')
  10. print(client.user.name)
  11. print(client.user.id)
  12. print('------')
  13.  
  14. channel = Client.get_channel('id')
  15. await Client.join_voice_channel(channel)
  16. print('Bot joined the channel.')
  17.  
  18. client.run('token')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement