This commit is contained in:
Daniel Odendahl Jr
2017-11-06 22:35:11 +00:00
parent 8355998c7c
commit 22327179b3
+1 -1
View File
@@ -82,7 +82,7 @@ class Util {
.replace(/\[i\]|\[\/i\]/g, '*');
}
static async awaitPlayers(msg, max, min, { text = 'join game', time = 30000 }) {
static async awaitPlayers(msg, max, min, { text = 'join game', time = 30000 } = {}) {
const joined = [];
joined.push(msg.author.id);
const filter = res => {