mirror of
https://github.com/danbulant/cnmc-bot
synced 2026-07-06 03:31:19 +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
|
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();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue