Трабл с дискорд ботом

vladsharik

Участник
Автор темы
132
18
Не понимаю почему бот не запускается, вроде так всё, хотя хз
Python:
import discord
from discord.ext import commands

TOKEN = 'api'

bot = commands.Bot(command_prefix="!", help_command=None, intents=discord.Intents.all())

@bot.event
async def on_ready():
    print('Bot connected')

@bot.command(pass_context=True)
async def hello(ctx):
    await ctx.send('Привет. Я ботяра')


bot.run(TOKEN)
и крч такая ошибка
1663840675660.png