mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-11 20:55:01 +00:00
Type fixes + circular dependency fix
This commit is contained in:
parent
e3b6b017a2
commit
59e75e0584
20 changed files with 70 additions and 83 deletions
|
@ -54,10 +54,10 @@ export const AddRoleCmd = rolesCmd({
|
|||
|
||||
await args.member.roles.add(roleId);
|
||||
|
||||
pluginData.getPlugin(LogsPlugin).logMemberRoleAdd(LogType.MEMBER_ROLE_ADD, {
|
||||
member: memberToTemplateSafeMember(args.member),
|
||||
roles: role.name,
|
||||
mod: userToTemplateSafeUser(msg.author),
|
||||
pluginData.getPlugin(LogsPlugin).logMemberRoleAdd({
|
||||
mod: msg.author,
|
||||
member: args.member,
|
||||
roles: [role],
|
||||
});
|
||||
|
||||
sendSuccessMessage(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue