mirror of
https://github.com/danbulant/cnmc-bot
synced 2026-06-20 07:01:11 +00:00
Add end command
This commit is contained in:
parent
0d9c249e51
commit
ba503b123e
1 changed files with 6 additions and 1 deletions
|
|
@ -13,7 +13,12 @@ app
|
|||
if(msg.author.id === "694395936809418816" && msg.content === "!reset") {
|
||||
answers.clear();
|
||||
challenge.clear();
|
||||
msg.reply("done.");
|
||||
points.clear();
|
||||
msg.reply("Done.");
|
||||
return false;
|
||||
} else if(msg.author.id === "694395936809418816" && msg.content === "!end") {
|
||||
challenge.set("type", 0);
|
||||
msg.reply("Done.");
|
||||
return false;
|
||||
} else if(msg.author.id === "694395936809418816" && msg.content.startsWith("!start")) {
|
||||
var num = msg.content.split(" ")[1][0];
|
||||
|
|
|
|||
Loading…
Reference in a new issue