Completed faction code

This commit is contained in:
2018-10-20 19:07:02 +11:00
parent 6f27551862
commit 34dff69af8
3 changed files with 81 additions and 71 deletions

View File

@@ -33,10 +33,12 @@ client.on("message", function(msg) {
switch(command) {
//used for debugging
case "ping":
console.log(shared.CheckValidDisplay(client, "Ratstail91", "bot-spam", true));
shared.ChangeFaction(client, process.env.GROUP_B_ROLE, msg.channel, msg.member);
break;
}
});
//actually log in
client.login(process.env.DEVELOPER_TOKEN);
client.login(process.env.DEVELOPER_TOKEN);
//TODO: change usernames to tags throughout the shared library