Не запускается бот дискорд
Вот код
import discord
from discord.ext import commands
client = commands.Bot( command_prefix = "*")
@client.event
async def on_ready():
print("BOT connected")
@bot.command()
async def tried(ctx):
success = random.randint(1, 2)
await ctx.channel.send("[Успешно]")
with open("token.txt", "r") as f:
lines = f.readlines()
token = lines[0].strip()
client.run(token)