Код: Выделить всё
@client.event
async def on_command(ctx):
print(f'Commande exécutée: {ctx.command} par {ctx.author}')
Код: Выделить всё
@bot.before_invoke
async def before_any_command(ctx):
print(f'Commande exécutée: {ctx.command} par {ctx.author}')
Подробнее здесь: https://stackoverflow.com/questions/786 ... iscord-bot