mirror of
https://github.com/danbulant/cnmc-bot
synced 2026-06-18 22:21:36 +00:00
Remove default challenge type
This commit is contained in:
parent
22b9c0076e
commit
0d9c249e51
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ const points = new Map();
|
|||
app
|
||||
.use(msg => !msg.author.bot) // ignore bots
|
||||
.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") {
|
||||
answers.clear();
|
||||
challenge.clear();
|
||||
|
|
|
|||
Loading…
Reference in a new issue