aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/mute.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-26 18:47:13 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-26 18:47:13 -0400
commit80d5b5b11ae261945dc725a0a80115922003afcf (patch)
tree16c9f251b4d53456b4b5340c0203d35fd5870859 /src/commands/moderation/mute.ts
parentcca0b7a03bcd61af12b7f9bff51276f6c70beeb3 (diff)
downloadtanzanite-80d5b5b11ae261945dc725a0a80115922003afcf.tar.gz
tanzanite-80d5b5b11ae261945dc725a0a80115922003afcf.tar.bz2
tanzanite-80d5b5b11ae261945dc725a0a80115922003afcf.zip
refactor: this.client -> client
Diffstat (limited to 'src/commands/moderation/mute.ts')
-rw-r--r--src/commands/moderation/mute.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/moderation/mute.ts b/src/commands/moderation/mute.ts
index 0b10ee1..779f60d 100644
--- a/src/commands/moderation/mute.ts
+++ b/src/commands/moderation/mute.ts
@@ -75,7 +75,7 @@ export default class MuteCommand extends BushCommand {
if (reason) {
time =
typeof reason === 'string'
- ? await Argument.cast('duration', this.client.commandHandler.resolver, message as BushMessage, reason)
+ ? await Argument.cast('duration', client.commandHandler.resolver, message as BushMessage, reason)
: reason.duration;
}
const parsedReason = reason.contentWithoutTime;