@client.event
async def on_ready():
Channel = client.get_channel('887722241641558088')
Text= "YOUR_MESSAGE_HERE"
Moji = await client.send(Channel, Text)
await client.add_reaction(Moji, emoji='✅')
@client.event
async def on_reaction_add(reaction, user):
Channel = client.get_channel('887722241641558088')
if reaction.message.channel.id != Channel:
return
if reaction.emoji == "✅":
Role = discord.utils.get(user.server.roles, name="ПИДАРАС")
await client.add_roles(user, Role)