- 131
- 19
Не понимаю почему бот не запускается, вроде так всё, хотя хз
и крч такая ошибка
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)