AttributeError: partially initialized module 'discord' has no attribute 'Client' (most likely due to a circular import)

import discord
from discord.ext import commands

bot = commands.Bot(command_prefix='>')

@bot.command()
async def ping(ctx):
    await ctx.send('pong')

bot.run('token')

Ошибка:

AttributeError: partially initialized module 'discord' has no attribute 'Client' (most likely due to a circular import)

Пишу обычные команды , здесь все правильно но как я понял ошибку выдает совершенно в другом


Ответы (0 шт):