You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
377 B

import discord
client = discord.Client()
@client.async_event
def on_ready():
print('Connected!')
print('Username: ' + client.user.name)
print('ID: ' + client.user.id)
@client.async_event
def on_message(message):
if message.author.id != client.user.id:
yield from client.send_message(message.channel, message.content)
client.run('email', 'password')