-1

i am having a issue using custom emoji in the send string.

@bot.command()
async def ping(ctx):
    latency = round(bot.latency * 1000)
    await ctx.send(f"<a:online:980230187432181831> {latency}ms")

it is responding :online: 9ms

i want to send custom emoji from other server THE EMOJI IS GONNA BE IN OTHER SERVERS.

Dominik
  • 3,612
  • 2
  • 11
  • 44
  • 1
    If the bot has access to it on at least one server, there should not be a problem with the output. Make sure you copy the correct and whole name/ID of the emoji by using \ in front of the emoji. – Dominik Aug 07 '23 at 14:23

0 Answers0