mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 15:45:03 +00:00
Add status message to !massaddrole so it doesn't look like the command froze while it's resolving users
This commit is contained in:
parent
0f73ddd2e1
commit
9adfa3a25c
1 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,8 @@ export class RolesPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
@d.command("massaddrole", "<role:string> <members:string...>")
|
||||
@d.permission("can_mass_assign")
|
||||
async massAddRoleCmd(msg: Message, args: { role: string; members: string[] }) {
|
||||
msg.channel.createMessage(`Resolving members...`);
|
||||
|
||||
const members = [];
|
||||
const unknownMembers = [];
|
||||
for (const memberId of args.members) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue