Open jmmelko opened 4 years ago
you can just remove the emojis from configs since they point to emojis not on your server. or you can add your own emoji and enter the IDs. it's meant for bot/server owner to properly add custom emoji to the config.
And on second thought, it might be good to both show the defaulted emoji and log the failure. If you happen to do this and make a pull request, I'll merge it ;)
Alex,
I have found that my config file, as yours, contain the following:
"EMOJI": { "NO": 624094243371352084, "YES": 624094243329146900
When the bot is tested on a server that does not contain these emojis, the EMOJI dict in utils.Emoji.py is filled with the following: {'YES': None, 'NO': None}
=> I suggest to add the following line to get_emoji(name):
Thank you.