UnboundLocalError: локальная переменная, на которую ссылаются перед назначением Discord.py
#python #python-3.x #discord.py Вопрос: Я продолжаю получать эту ошибку и задавался вопросом, как ее исправить: @bot.event async def on_message(message): if isinstance(message.channel, discord.channel.DMChannel) and message.author != bot.user: async with message.channel.typing(): responses…