D
D
Dream2021-06-07 21:38:29
Bots
Dream, 2021-06-07 21:38:29

What's the best way to do (advice) Discord?

What is the best thing to do if the bot is accessed many times at the same time: send simple messages (ctx.send) or reply to messages (ctx.reply)? I just don’t know what is better, so that it is more clear to users who the bot is contacting. The fact is that if 2 users write at the same time, then the bot will send 2 messages at once.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
UberPool, 2021-06-07
@dreameddd

You can just send a message, but mention the right user.

await ctx.send(f'message for {ctx.author.mention}')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question