3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 20:35:02 +00:00

Type fixes + circular dependency fix

This commit is contained in:
Dragory 2021-08-18 20:01:06 +03:00
parent e3b6b017a2
commit 59e75e0584
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
20 changed files with 70 additions and 83 deletions

View file

@ -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(