Skip to content

Commit

Permalink
lowercase non aliased gamemode names as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Techbot121 authored and Meta Construct committed Dec 18, 2023
1 parent c5b2d89 commit b6b2ef8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/services/gamebridge/payloads/StatusPayload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ export default class StatusPayload extends Payload {
}

const gamemodeName =
GamemodeAlias[current_gamemode.name.toLowerCase()] ?? current_gamemode.name;
GamemodeAlias[current_gamemode.name.toLowerCase()] ??
current_gamemode.name.toLowerCase();

const embed = new Discord.EmbedBuilder()
.setColor(
Expand Down

0 comments on commit b6b2ef8

Please sign in to comment.