G
G
Georgy Kharitonov2021-12-30 13:27:31
Python
Georgy Kharitonov, 2021-12-30 13:27:31

Not having a userbot on discord.py?

Is it possible to do with discord.py to do the following command:

@bot.command()
async def make_write(ctx,member : discord.Member,*, msg):
    #сам код


The point is that the bot must pretend to be a member and write msg to ctx.channel on behalf of the member. Is it possible to do so? If so, how?

Any ideas, suggestions are welcome! Let's try to do it collectively!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
shurshur, 2021-12-30
@NoGrisha

This is impossible. Not at all.

V
Vindicar, 2021-12-30
@Vindicar

It is forbidden. And it's good that you can't.
You can substitute the username at the beginning of the text, but it will still be visible who actually wrote it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question