mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +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
1ac8c4e444
commit
6b5bba992c
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
Reference in a new issue