mirror of
https://github.com/Ratstail91/SANCTUM.git
synced 2025-11-29 02:24:27 +11:00
Finished progression
This commit is contained in:
@@ -32,8 +32,20 @@ client.on("message", function(msg) {
|
||||
//handle command
|
||||
switch(command) {
|
||||
//used for debugging
|
||||
case "ping":
|
||||
shared.ChangeFaction(client, process.env.GROUP_B_ROLE, msg.channel, msg.member);
|
||||
case "create":
|
||||
shared.ChangeFaction(client, process.env.GROUP_A_ROLE, "bot-spam", msg.member);
|
||||
break;
|
||||
|
||||
case "xp":
|
||||
shared.AddXP(client, msg.author, parseInt(args));
|
||||
break;
|
||||
|
||||
case "levelup":
|
||||
shared.LevelUp(client, msg.member);
|
||||
break;
|
||||
|
||||
case "rankup":
|
||||
shared.RankUp(client, msg.member, parseInt(args));
|
||||
break;
|
||||
}
|
||||
});
|
||||
@@ -41,4 +53,5 @@ client.on("message", function(msg) {
|
||||
//actually log in
|
||||
client.login(process.env.DEVELOPER_TOKEN);
|
||||
|
||||
//TODO: change usernames to tags throughout the shared library
|
||||
//TODO: change usernames to tags throughout the shared library
|
||||
//FIXME: The server currently queries chest count, which is not in the database.
|
||||
Reference in New Issue
Block a user