We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d45503 commit 47a2052Copy full SHA for 47a2052
src/index.ts
@@ -22,7 +22,7 @@ class App {
22
this.client = await this.createDiscordClient();
23
try {
24
const publisher = new DiscordPublisher(this.client, new FileBackedMapRepository(), {
25
- playerCount: process.env.DISCORD_PUBLISHER_MESSAGE_FORMAT || '${playerCount}/${status.maxPlayers} $queuedPlayers',
+ playerCount: process.env.DISCORD_PUBLISHER_MESSAGE_FORMAT || '${playerCount}/${maxPlayers} $queuedPlayers',
26
queuedPlayers: process.env.DISCORD_PUBLISHER_MESSAGE_QUEUED_FORMAT || '(+${queuedPlayers})',
27
});
28
this.useCase = new ProvideGameStatus(providerFactory().build(), publisher);
0 commit comments