aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord-akairo/BushClient.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-20 12:29:20 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-20 12:29:20 -0400
commit7048fb1d6d24a26d4e0fdadc2f75bd0717fa80f9 (patch)
tree3b66ea2934c577c0e827ba279cf32b514389236c /src/lib/extensions/discord-akairo/BushClient.ts
parentbfb467c3bed23479673b82eba61c05d60acf42d7 (diff)
downloadtanzanite-7048fb1d6d24a26d4e0fdadc2f75bd0717fa80f9.tar.gz
tanzanite-7048fb1d6d24a26d4e0fdadc2f75bd0717fa80f9.tar.bz2
tanzanite-7048fb1d6d24a26d4e0fdadc2f75bd0717fa80f9.zip
more pain
Diffstat (limited to 'src/lib/extensions/discord-akairo/BushClient.ts')
-rw-r--r--src/lib/extensions/discord-akairo/BushClient.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts
index 3feae96..ee92ded 100644
--- a/src/lib/extensions/discord-akairo/BushClient.ts
+++ b/src/lib/extensions/discord-akairo/BushClient.ts
@@ -21,8 +21,10 @@ import { exit } from 'process';
import readline from 'readline';
import { Sequelize } from 'sequelize';
import { contentWithDurationTypeCaster } from '../../../arguments/contentWithDuration';
+import { discordEmojiTypeCaster } from '../../../arguments/discordEmoji';
import { durationTypeCaster } from '../../../arguments/duration';
import { permissionTypeCaster } from '../../../arguments/permission';
+import { snowflakeTypeCaster } from '../../../arguments/snowflake';
import { UpdateCacheTask } from '../../../tasks/updateCache';
import { ActivePunishment } from '../../models/ActivePunishment';
import { Global } from '../../models/Global';
@@ -250,7 +252,9 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re
this.commandHandler.resolver.addTypes({
duration: durationTypeCaster,
contentWithDuration: contentWithDurationTypeCaster,
- permission: permissionTypeCaster
+ permission: permissionTypeCaster,
+ snowflake: snowflakeTypeCaster,
+ discordEmoji: discordEmojiTypeCaster
});
// loads all the handlers
const loaders = {