diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-30 19:38:16 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-30 19:38:16 -0400 |
commit | 70fac30661ee06b07baceed6e44880b16e244626 (patch) | |
tree | 44b4c573043fc369ba9c79ef368da2f08f34e442 /src/lib/extensions/discord-akairo/BushClient.ts | |
parent | f5c2b7b946487c2828365cc63bc6f471dd6cfc2f (diff) | |
download | tanzanite-70fac30661ee06b07baceed6e44880b16e244626.tar.gz tanzanite-70fac30661ee06b07baceed6e44880b16e244626.tar.bz2 tanzanite-70fac30661ee06b07baceed6e44880b16e244626.zip |
general clean up and fix automod
Diffstat (limited to 'src/lib/extensions/discord-akairo/BushClient.ts')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClient.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts index 54b5250..7b270f6 100644 --- a/src/lib/extensions/discord-akairo/BushClient.ts +++ b/src/lib/extensions/discord-akairo/BushClient.ts @@ -20,6 +20,7 @@ import readline from 'readline'; import { Sequelize } from 'sequelize'; import { contentWithDurationTypeCaster } from '../../../arguments/contentWithDuration'; import { durationTypeCaster } from '../../../arguments/duration'; +import { permissionTypeCaster } from '../../../arguments/permission'; import { UpdateCacheTask } from '../../../tasks/updateCache'; import { ActivePunishment } from '../../models/ActivePunishment'; import { Global } from '../../models/Global'; @@ -228,7 +229,8 @@ export class BushClient extends AkairoClient { }); this.commandHandler.resolver.addTypes({ duration: durationTypeCaster, - contentWithDuration: contentWithDurationTypeCaster + contentWithDuration: contentWithDurationTypeCaster, + permission: permissionTypeCaster }); // loads all the handlers const loaders = { |