@bot.event
async def on_ready():
print(f"Bot {bot.user} Готов к работе!")
bot.run("Токен")
Ошибка:
Traceback (most recent call last):
File "C:\Users\1\bot.py", line 4, in
bot = commands.Bot(command_prefix=".", help_commands=None, intents=disnake.Intents.all())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\1\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\ext\commands\bot_base.py", line 130, in __init__
super().__init__(**options)
File "C:\Users\1\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\ext\commands\interaction_bot_base.py", line 156, in __init__
super().__init__(**options)
File "C:\Users\1\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\ext\commands\common_bot_base.py", line 83, in __init__
super().__init__(*args, **kwargs)
File "C:\Users\1\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\ext\commands\core.py", line 1174, in __init__
super().__init__(*args, **kwargs)
TypeError: Client.__init__() got an unexpected keyword argument 'help_commands'