diff options
Diffstat (limited to 'src/lib/extensions')
-rw-r--r-- | src/lib/extensions/discord.js/BushGuildMember.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/extensions/discord.js/BushGuildMember.ts b/src/lib/extensions/discord.js/BushGuildMember.ts index 8e1c51a..4bb1c2c 100644 --- a/src/lib/extensions/discord.js/BushGuildMember.ts +++ b/src/lib/extensions/discord.js/BushGuildMember.ts @@ -15,16 +15,12 @@ interface BushTimedPunishmentOptions extends BushPunishmentOptions { duration?: number; } -interface AddRoleOptions { - moderator?: BushUserResolvable; - duration?: number; +interface AddRoleOptions extends BushTimedPunishmentOptions { role: BushRole | Role; addToModlog: boolean; } -interface RemoveRoleOptions { - moderator?: BushUserResolvable; - duration?: number; +interface RemoveRoleOptions extends BushTimedPunishmentOptions { role: BushRole | Role; addToModlog: boolean; } |