Skip to content

Commit 0d45503

Browse files
committed
fix wrong environment key
1 parent 958a5c5 commit 0d45503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class App {
2323
try {
2424
const publisher = new DiscordPublisher(this.client, new FileBackedMapRepository(), {
2525
playerCount: process.env.DISCORD_PUBLISHER_MESSAGE_FORMAT || '${playerCount}/${status.maxPlayers} $queuedPlayers',
26-
queuedPlayers: process.env.DISCORD_PUBLISHER_MESSAGE_FORMAT || '(+${queuedPlayers})',
26+
queuedPlayers: process.env.DISCORD_PUBLISHER_MESSAGE_QUEUED_FORMAT || '(+${queuedPlayers})',
2727
});
2828
this.useCase = new ProvideGameStatus(providerFactory().build(), publisher);
2929
} catch (e) {

0 commit comments

Comments
 (0)