Не запускается код c библиотекой Discord.py
Решил написать бота для дискорда на Python. Но он просто не запускается.
import discord
from discord.ext import commands
TOKEN = "token"
bot = commands.Bot(command_prefix=('+'))
bot.remove_command( 'help' )
@bot.event
async def on_ready():
print("Я запущен!")
@bot.command()
async def Hi(ctx):
await ctx.send('Hi')
@bot.command()
async def test1(ctx):
embed = discord.Embed(
title="Привет всем!",
)
await ctx.send(embed=embed)
@bot.command()
async def lolzsait(ctx):
embed = discord.Embed(
title="Тык для перехода",
description="Ссылка для перехода на lolz",
url='https://lolz.guru',
)
await ctx.send(embed=embed)
bot.run(TOKEN)
Но при запуске выводит ошибку:
ModuleNotFoundError: No module named 'discord.ext'; 'discord' is not a package
Хотя я все библиотеки установил. Что делать?