#Fetch emoji I don't have access to

21 messages · Page 1 of 1 (latest)

stable magnet
#

(@ to reply) I was wondering if it's possible to fetch any emoji's name by it's ID.
I'd like it to work even if the bot isn't in the server that the emoji is from.

copper burrowBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
  • Marked as resolved by OP
stable magnet
#

like if the user inputs 1152270594604286103, it'll reply with DEFAULT_HEADLEFT (Default_HeadLeft)

abstract stag
stable magnet
#

it's annoying, bc the bot is able to use the emoji even if it isn't in the server, so why can't it see basic info

abstract stag
#

It shouldn’t be able to use it either, if it‘s not in that guild

stable magnet
#

You're right

#

now I have to upload to my own servers instead of having users just submit an ID

abstract stag
#

You can however get the emoji image by id. Not the name though

stable magnet
#

I'm going to have to change this to uploading an image

#

ugh

abstract stag
#

Why? You can download it from the URL

stable magnet
#

it needs to be able to use the emoji

abstract stag
#

Yeah; then download from URL and upload to your guild. The users don’t need to do that work

stable magnet
#

hmm

#

good idea!

#

I don't even have to download it bc I can just use the original emoji's URL in the create emoji req