Skip to content

Commit 584dc34

Browse files
committed
fix galnir#620 music trivia crash if user guessed both singer and name
1 parent 28b2920 commit 584dc34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/music/TriviaPlayer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class TriviaPlayer {
146146
}
147147
this.score.set(
148148
msg.author.username,
149-
this.score(msg.author.username) + 2
149+
this.score.get(msg.author.username) + 2
150150
);
151151
msg.react('☑');
152152
return collector.stop();

0 commit comments

Comments
 (0)