G
G
GoosIDK2021-06-18 23:27:48
Python
GoosIDK, 2021-06-18 23:27:48

How to make the discord bot put emoji and remove it when a participant clicks on it and writes another message?

& = I need the bot to remove the emoji of the person who clicked on it, and write a message further.
I want to make a bot that writes questions that already have an answer, and at the end of all questions counts the correct answers and not the correct ones.
Here is the code for &

@client.command()
async def game(ctx):
    await ctx.channel.purge( limit = 1)
    name = ctx.author.name
    emb = discord.Embed(title = 'Игра запущенна', description = f'игрок: { name } , готовы начать? ', color=0x774ece) # содержимое сообщения
    msg = await ctx.send(embed=emb)
    await msg.add_reaction("✅")

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
saico, 2021-06-19
@saico

https://discordpy.readthedocs.io/en/stable/api.htm...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question