import asyncio
from discord import Embed
from discord.ext import commands
bot = commands.Bot(command_prefix='.')
@bot.command()
async def displayembed():
embed = discord.Embed(
title = 'Заголовок',
description = 'Описание',
colour = discord.Colour.from_rgb(106, 192, 245)
)
await bot.say(embed=embed)
async def on_ready():
print('Bot logged as {}'.format(bot.user))
async def on_message(ctx):
pass
token = 'token'
bot.run(token)