• Как сделать чтобы когда пишешь !avatar @ (без пользователя, просто с @), не выдавало ошибку?

    @FreeZe123 Автор вопроса
    sergeyfilippov4,
    Ignoring exception in command avatar:
    Traceback (most recent call last):
    File "C:\Program Files\Python37\lib\site-packages\discord\ext\commands\bot.py", line 903, in invoke
    await ctx.command.invoke(ctx)
    File "C:\Program Files\Python37\lib\site-packages\discord\ext\commands\core.py", line 847, in invoke
    await self.prepare(ctx)
    File "C:\Program Files\Python37\lib\site-packages\discord\ext\commands\core.py", line 784, in prepare
    await self._parse_arguments(ctx)
    File "C:\Program Files\Python37\lib\site-packages\discord\ext\commands\core.py", line 690, in _parse_arguments
    transformed = await self.transform(ctx, param)
    File "C:\Program Files\Python37\lib\site-packages\discord\ext\commands\core.py", line 545, in transform
    return await self.do_conversion(ctx, converter, argument, param)
    File "C:\Program Files\Python37\lib\site-packages\discord\ext\commands\core.py", line 498, in do_conversion
    return await self._actual_conversion(ctx, converter, argument, param)
    File "C:\Program Files\Python37\lib\site-packages\discord\ext\commands\core.py", line 444, in _actual_conversion
    ret = await instance.convert(ctx, argument)
    File "C:\Program Files\Python37\lib\site-packages\discord\ext\commands\converter.py", line 142, in convert
    raise BadArgument('Member "{}" not found'.format(argument))
    discord.ext.commands.errors.BadArgument: Member "@" not found