cfg.bot.run(cfg.TOKEN)
, используйте asyncio.gather для запуска обеих задач. ebay = ebay['Custom Label (SKU)'].str.contains('a', case=False)
def find_determinant(self):
self.__print_matrice__(super().find_determinant(*self.__create_matrice__()))
moder = None
@client.command()
async def _init_( ctx ):
global moder
embed = discord.Embed(
title = 'Это мой заголовок',
description = 'Это мой основной текст',
color = 0x83c837
)
moder = await ctx.send(
embed = embed
)
@client.command()
async def test( ctx ):
await ctx.send(
moder
)
requests.post('https://httpbin.org/post', files={'param_1': (None, 'param 1 value'), 'param_2': (None, 'param 2 value')})
Как прикрепить файл описано тут ctx.voice_client.play(discord.FFmpegPCMAudio(clip.audiopath), None)