aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-14 13:29:19 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-14 13:29:19 -0400
commiteaaae08aeee1fa16a4e1ad0b26fceb42885bfcde (patch)
tree6c1501af87225b478c9ebdc39e0712e0d4835a08 /src/lib
parent070b5f326d0647e7b105f99811e4bdc915c8652e (diff)
downloadtanzanite-eaaae08aeee1fa16a4e1ad0b26fceb42885bfcde.tar.gz
tanzanite-eaaae08aeee1fa16a4e1ad0b26fceb42885bfcde.tar.bz2
tanzanite-eaaae08aeee1fa16a4e1ad0b26fceb42885bfcde.zip
add punishent footer command
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/extensions/discord.js/BushGuildMember.ts8
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;
}