This commit is contained in:
Lamp 2018-08-13 22:47:26 -07:00
parent 973bf59cc7
commit 6f39c42c7b
No known key found for this signature in database
GPG Key ID: 0F1F8704BEDE369E
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ node_modules/
.DS_Store
test.sh
.vscode
tmp

View File

@ -119,6 +119,10 @@ commands.color = {
role = colorRoles.findColorRole(message.member);
}
}
/*if (!role) { // somehow this happened
let a = 0;
while (!(role = colorRoles.findColorRole(message.member)) && a++ < 10) {}
}*/
role.setColor(str.toUpperCase());
message.react("🆗");
}