fix context menu command

This commit is contained in:
Aaron Riedel 2022-01-30 17:09:42 +01:00
parent 1700f9c979
commit 766859a53a

3
bot.py
View file

@ -151,8 +151,7 @@ async def gmroll(ctx,
em = discord.Embed(title=rolle, description=rolltotal, colour=0x009933)
await ctx.response.send_message(embed=em, ephemeral=True)
@bot.message_command(name="Emoji Text")
@is_admin()
@bot.message_command(name="Emoji Text", guild_ids=[261575556708040705])
async def emoji_text(ctx, message: discord.Message):
for x in emojinumbers:
await message.add_reaction(x)