I have a problem creating discord bots. The problem is when I use the .idea (idea text) command, only the first phrase of the idea is transferred to the outgoing embed.
Code:
@bot.command(pass_contxt=True)
async def идея(ctx,arg):
await ctx.channel.purge(limit = 1)
emb = discord.Embed(title=f'`Начато голосование на идею` ',
description='Идея: ' + str(arg),
colour=discord.Color.purple()
)
emb.set_footer(text = str(ctx.message.author))
message = await ctx.send(embed=emb)
await message.add_reaction('✅')
await message.add_reaction('❌')
print('>>Была отправлена идея: ' + str(arg))
