L
L
Lesnoy 40rt2021-10-02 15:13:34
Python
Lesnoy 40rt, 2021-10-02 15:13:34

How to make the bot return the argument when the command is given with an argument?

I'm writing a bot in python, I'm trying to implement the following
A person writes: !hug <@user>
The answer should be: <@author> hugged <@user> How
can this be implemented?
Changed: even, I would say, not a mention, but an argument

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shandy, 2021-10-02
@Lesnoy40rt77

https://discordpy.readthedocs.io/en/latest/ext/com...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question