1

Event Discord Code [#Error]


Пытаюсь создать команду для эмбеда с реакциями на голосование. Скиньте код плз.

Вид

1 ответ 1

3
@client.command( pass_context = True )
@commands.has_permissions(administrator=True)
async def startvote(ctx, *, arg):
    emb = discord.Embed(title=f'Начато голосование на ивент🎉',
    description='Ивент: ' + str(arg),
    colour=discord.Color.purple()
    )
    message = await ctx.send(embed=emb) 
    await message.add_reaction('✅')
    await message.add_reaction('❌')
    print('>>Sent message about voting of event. Name of event: ' + str(arg))

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.