diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-29 16:15:06 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-29 16:15:06 -0500 |
commit | 08d7e6eb125c5ff6846c3a92491de79d291b8e12 (patch) | |
tree | 4abdaeee3ad258ef8fa0d7b517ea49d262d18b0b /src/lib/extensions/discord-akairo/BushClientUtil.ts | |
parent | f9cf43fc47be2d497d92d728ea892246df96d736 (diff) | |
download | tanzanite-08d7e6eb125c5ff6846c3a92491de79d291b8e12.tar.gz tanzanite-08d7e6eb125c5ff6846c3a92491de79d291b8e12.tar.bz2 tanzanite-08d7e6eb125c5ff6846c3a92491de79d291b8e12.zip |
misc improvements & typings changes
Diffstat (limited to 'src/lib/extensions/discord-akairo/BushClientUtil.ts')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClientUtil.ts | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClientUtil.ts b/src/lib/extensions/discord-akairo/BushClientUtil.ts index f44c80d..f20a53e 100644 --- a/src/lib/extensions/discord-akairo/BushClientUtil.ts +++ b/src/lib/extensions/discord-akairo/BushClientUtil.ts @@ -6,13 +6,10 @@ import { type BushClient, type BushInspectOptions, type BushMessage, - type BushNewsChannel, type BushSlashEditMessageType, type BushSlashMessage, type BushSlashSendMessageType, - type BushTextChannel, type BushUser, - type BushUserResolvable, type CodeBlockLang, type Pronoun, type PronounCode @@ -42,7 +39,7 @@ import got from 'got'; import _ from 'lodash'; import { inspect, promisify } from 'util'; import CommandErrorListener from '../../../listeners/commands/commandError.js'; -import { Format } from '../../common/Format.js'; +import { Format } from '../../common/util/Format.js'; export class BushClientUtil extends ClientUtil { /** @@ -599,12 +596,6 @@ export class BushClientUtil extends ClientUtil { return `${arrByte[1]}, ${arrByte[2]}, ${arrByte[3]}`; } - /* eslint-disable @typescript-eslint/no-unused-vars */ - public async lockdownChannel(options: { channel: BushTextChannel | BushNewsChannel; moderator: BushUserResolvable }) { - // todo: implement lockdowns - } - /* eslint-enable @typescript-eslint/no-unused-vars */ - /** * Capitalize the first letter of a string. * @param string The string to capitalize the first letter of. |