daily pastebin goal
9%
SHARE
TWEET

Untitled

a guest Aug 13th, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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')
RAW Paste Data
Top