Answer the question
In order to leave comments, you need to log in
How to make the message written by the discord.py person write to the console?
@bot.command()
async def say(ctx, *arg):
await ctx.message.delete()
await ctx.send(' '.join(arg))
to output what the person wrote
e.g.
r!say I I bought water
and the console displays the
nickname of the person r!say I bought water
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question