refactor(User): set accentColor and banner to undefined when not yet received (#6721)

Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
This commit is contained in:
Rodry
2021-10-04 23:16:59 +01:00
committed by GitHub
parent d0025beb7b
commit ba93e85d0d
3 changed files with 14 additions and 11 deletions

View File

@@ -60,6 +60,7 @@ const Messages = {
FILE_NOT_FOUND: file => `File could not be found: ${file}`,
USER_BANNER_NOT_FETCHED: "You must fetch this user's banner before trying to generate its URL!",
USER_NO_DMCHANNEL: 'No DM Channel exists!',
VOICE_NOT_STAGE_CHANNEL: 'You are only allowed to do this in stage channels.',