Only show the win streak if it has won
This commit is contained in:
parent
8ea9bb4d2a
commit
19411a71e4
1 changed files with 3 additions and 1 deletions
|
|
@ -21,7 +21,9 @@ export default {
|
|||
if (quote.win_streak > 0) {
|
||||
let name = `👑 Quote ${index + 1}:`;
|
||||
|
||||
if (config.guilds[gID].show_win_streak ?? true) {
|
||||
// Add the win streak information if desired
|
||||
if ((config.guilds[gID].show_win_streak ?? true)
|
||||
&& quote.win_streak > 0) {
|
||||
name += ` (Streak: ${quote.win_streak})`;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue