generated from Baipyrus/DiscordJS-Template
verbose logging
This commit is contained in:
parent
647dc6211b
commit
146bdf363e
@ -16,5 +16,7 @@ export async function execute(member) {
|
|||||||
if (roles.length === 0) return;
|
if (roles.length === 0) return;
|
||||||
|
|
||||||
// Add roles to member
|
// Add roles to member
|
||||||
member.roles.add(roles.map((role) => role.id));
|
await member.roles.add(roles.map((role) => role.id));
|
||||||
|
|
||||||
|
console.info(`[INFO] Added ${roles.length} roles to user with ID '${member.user.id}'.`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user