6347065dd4
Don't reload emotes directly into the global common.Emotes variable. Instead, load them into a new variable and write that to common.Emotes after the search for new emotes completes. Emotes should no longer duplicate for each run of `/reloademotes`. Also tweaked `/addemotes` to automatically reload emotes if nothing went wrong downloading a new set. |
||
---|---|---|
.. | ||
chatcommands.go | ||
chatdata.go | ||
colors_test.go | ||
colors.go | ||
constants.go | ||
emotes_test.go | ||
emotes.go | ||
logging_dev.go | ||
logging.go | ||
templates.go | ||
utils.go |