Skip to content

Commit

Permalink
fix(discord): add missing $tags
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Feb 4, 2025
1 parent 18377f2 commit 81d57b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/integrations/discord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@ class Discord extends Integration {
if (o === '$subscribers') {
return { name: prepare('webpanel.subscribers'), value: String(stats.value.currentSubscribers), inline: true };
}
if (o === '$tags') {
return { name: prepare('webpanel.tags'), value: String((stats.value.currentTags ?? []).join(', ')), inline: true };
}
return { name: o, value: 'unknown field' };
}

Expand Down

0 comments on commit 81d57b2

Please sign in to comment.