This commit is contained in:
parent
973bf59cc7
commit
6f39c42c7b
|
@ -3,3 +3,4 @@ node_modules/
|
|||
.DS_Store
|
||||
test.sh
|
||||
.vscode
|
||||
tmp
|
|
@ -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("🆗");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue