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
425 B
18 lines
425 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)
|
||
|
|
||
|
channel = self.get_channel(373273190547324928)
|
||
|
message = await channel.fetch_message(562295275184455720)
|
||
|
# await message.pin()
|
||
|
await message.add_reaction("📌")
|
||
|
|
||
|
await self.logout()
|
||
|
|
||
|
client = Client()
|
||
|
client.run(open("token").read().strip())
|