diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-03 11:11:00 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-09-03 11:11:00 -0400 |
commit | 3e845f120fa1bb0f38e54969238a4d27abad7098 (patch) | |
tree | 07b7c2191daa5d3ddb059d07bab5306a1591bf9e /src/lib/extensions/discord-akairo | |
parent | 0d73d6956ae2b23ad12a677749a60967bfa0bb55 (diff) | |
download | tanzanite-3e845f120fa1bb0f38e54969238a4d27abad7098.tar.gz tanzanite-3e845f120fa1bb0f38e54969238a4d27abad7098.tar.bz2 tanzanite-3e845f120fa1bb0f38e54969238a4d27abad7098.zip |
add setxp command
Diffstat (limited to 'src/lib/extensions/discord-akairo')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClient.ts | 4 | ||||
-rw-r--r-- | src/lib/extensions/discord-akairo/BushCommand.ts | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts index 8a21d32..ab66f60 100644 --- a/src/lib/extensions/discord-akairo/BushClient.ts +++ b/src/lib/extensions/discord-akairo/BushClient.ts @@ -22,6 +22,7 @@ import path from 'path'; import { exit } from 'process'; import readline from 'readline'; import { Sequelize } from 'sequelize'; +import { abbreviatedNumberTypeCaster } from '../../../arguments/abbreviatedNumber'; import { contentWithDurationTypeCaster } from '../../../arguments/contentWithDuration'; import { discordEmojiTypeCaster } from '../../../arguments/discordEmoji'; import { durationTypeCaster } from '../../../arguments/duration'; @@ -266,7 +267,8 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re permission: permissionTypeCaster, snowflake: snowflakeTypeCaster, discordEmoji: discordEmojiTypeCaster, - roleWithDuration: roleWithDurationTypeCaster + roleWithDuration: roleWithDurationTypeCaster, + abbreviatedNumber: abbreviatedNumberTypeCaster }); // loads all the handlers const loaders = { diff --git a/src/lib/extensions/discord-akairo/BushCommand.ts b/src/lib/extensions/discord-akairo/BushCommand.ts index 35046d7..495a454 100644 --- a/src/lib/extensions/discord-akairo/BushCommand.ts +++ b/src/lib/extensions/discord-akairo/BushCommand.ts @@ -63,7 +63,8 @@ export type BaseBushArgumentType = | 'permission' | 'snowflake' | 'discordEmoji' - | 'roleWithDuration'; + | 'roleWithDuration' + | 'abbreviatedNumber'; export type BushArgumentType = BaseBushArgumentType | RegExp; |