Discord.py, message is missing

Как только код не менял, ошибка как заведенная всегда именно она

Код:

@client.command(pass_context=True)
async def Comm1(ctx, message):
    if ctx is not None:
        pass
    for all_gif in vse:
        if all_gif in message.content:
            await message.delete()
        elif message.content('Then!'): break
        else: pass

Ошибка: discord.ext.commands.errors.MissingRequiredArgument: message is a required argument that is missing.


Ответы (0 шт):