Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Custom emoji in embed discord.py

from discord.utils import get

@bot.command(pass_context=True)
async def respond(ctx):
    emoji = get(ctx.message.server.emojis, name="emoji1")
    embed = Embed(title=f"Here is the **title**! {emoji}", color=0x24045b, description=f"Here is the emoji again! {emoji}")
    await bot.say(embed=embed)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Custom #emoji #embed
ADD COMMENT
Topic
Name
8+3 =