Remove default challenge type

This commit is contained in:
danbulant 2020-09-03 16:15:50 +02:00
parent 22b9c0076e
commit 0d9c249e51

View file

@ -9,7 +9,7 @@ const points = new Map();
app app
.use(msg => !msg.author.bot) // ignore bots .use(msg => !msg.author.bot) // ignore bots
.use(async msg => { .use(async msg => {
if(!challenge.get("type")) challenge.set("type", "0"); if(!challenge.get("type")) challenge.set("type", null);
if(msg.author.id === "694395936809418816" && msg.content === "!reset") { if(msg.author.id === "694395936809418816" && msg.content === "!reset") {
answers.clear(); answers.clear();
challenge.clear(); challenge.clear();