I'm trying to get emoji's from a another server. I creates a server object for the server, it is a constant because I want to only pull from this server.
for emoji in main_tuple:
emoji_name_id =await server.fetch_emoji(emoji)
emoji_array.append(f"<{emoji_name_id.name.lower()}:{emoji_name_id.id}>")
error:
nextcord.ext.commands.errors.CommandInvokeError: Command raised an exception: NotFound: 404 Not Found (error code: 10014): Unknown Emoji
I should mention I want to display it another server, I know this is probably obvious but yeah. main_tuple is a directionary in a database that has the emoji id and name. the error
Also the bot is part of the server it's getting the id from. I have looked at: discord.py emoji all servers bot in and it does not work for me.