'Discord.py custom emoji not sending correctly

I have tried a bunch of different strategies and none have made the bot say the wanted emote. (Or any emote at all.)

emoji = client.get_emoji(1234567890)
       await message.channel.send(emoji)

msg = "<:EmoteName:134567890>".format(client)
       await message.channel.send(msg.format(client))

They always produce :EmoteName:. It is in the server and has access to those emoji, etc.



Solution 1:[1]

The problem was with the emoji ID, it wasn't correct and I couldn't get the right one. All you need to do is put \:EmoteName: into discord and it will return the correct info.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 IceFire03