M
M
Maksim I won't tell2021-10-01 15:07:39
Python
Maksim I won't tell, 2021-10-01 15:07:39

How to make the bot mention the user in the discord message?

Here is the

@client.event
async def on_message(message) code snippet:
if message.author == client.user:
return

if message.content.startswith('Hi Sally'):
await message.channel.send('Hi ... ! Glad to see a message from you)

Where is the ellipsis, there the bot should mention the user, please help)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vindicar, 2021-10-01
@ShadowP22

Member.mention
Read the documentation, it's faster than asking.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question