revoltchat / backend

Monorepo for Revolt backend services.
https://developers.revolt.chat/api/
Other
1.1k stars 121 forks source link

bug: ServerCreate event missing emoji data for new server, only on Ready event for old servers #243

Closed xXBuilderBXx closed 7 months ago

xXBuilderBXx commented 1 year ago

What happened?

The websocket event for ServerCreate is missing a list of emojis which causes some inconsistency when using/caching/checking emojis which means that servers your bot joins has no existing emojis and there is no API to fetch a list of emojis for a server either. image

A fix for this would be adding emoji data to the ServerCreate event.

Rexogamer commented 1 year ago

This also causes issues in the frontend - when you initially join a server, you can't access its emojis in the emoji picker without reloading