0
0
Fork 0

Only show the win streak if it has won

This commit is contained in:
Oliver-Akins 2021-09-23 00:34:52 -06:00
parent 8ea9bb4d2a
commit 19411a71e4

View file

@ -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})`;
};