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.
18 lines
408 B
18 lines
408 B
6 years ago
|
import discord
|
||
|
|
||
|
from os import listdir
|
||
|
|
||
|
class Client(discord.Client):
|
||
|
async def on_ready(self):
|
||
|
print("Logged on as", self.user)
|
||
|
|
||
|
# file = discord.File(open("shapiro.png", "rb"), filename="shapiro.png")
|
||
|
|
||
|
channel = self.get_channel(256684714180608001)
|
||
|
# await channel.send(file=file)
|
||
|
|
||
|
await self.logout()
|
||
|
|
||
|
client = Client()
|
||
|
client.run(open("token").read().strip())
|