diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-11 20:52:56 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-11 20:52:56 -0400 |
commit | 66b958cd1d38a8ba0d64ecd188bc8d90e850cfbb (patch) | |
tree | c1b586329f281d690b69247dca7311a080e91921 /src/lib/extensions/discord-akairo/BushClientUtil.ts | |
parent | 5cc921fe1bdd24859ad1b15d73c86980de8f4ea0 (diff) | |
download | tanzanite-66b958cd1d38a8ba0d64ecd188bc8d90e850cfbb.tar.gz tanzanite-66b958cd1d38a8ba0d64ecd188bc8d90e850cfbb.tar.bz2 tanzanite-66b958cd1d38a8ba0d64ecd188bc8d90e850cfbb.zip |
fix: circular imports
Diffstat (limited to 'src/lib/extensions/discord-akairo/BushClientUtil.ts')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClientUtil.ts | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClientUtil.ts b/src/lib/extensions/discord-akairo/BushClientUtil.ts index c2d9da7..6c6d49a 100644 --- a/src/lib/extensions/discord-akairo/BushClientUtil.ts +++ b/src/lib/extensions/discord-akairo/BushClientUtil.ts @@ -1,5 +1,6 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ + import { exec } from 'child_process'; import { ClientUtil } from 'discord-akairo'; import { APIMessage } from 'discord-api-types'; @@ -26,23 +27,19 @@ import { import got from 'got'; import humanizeDuration from 'humanize-duration'; import { promisify } from 'util'; -import { - Ban, - BushCache, - BushClient, - BushConstants, - BushGuildMember, - BushGuildMemberResolvable, - BushGuildResolvable, - BushMessage, - BushSlashMessage, - Global, - Guild, - ModLog, - ModLogType, - Mute, - PunishmentRole -} from '../..'; +import { Ban } from '../../models/Ban'; +import { Global } from '../../models/Global'; +import { Guild } from '../../models/Guild'; +import { ModLog, ModLogType } from '../../models/ModLog'; +import { Mute } from '../../models/Mute'; +import { PunishmentRole } from '../../models/PunishmentRole'; +import { BushCache } from '../../utils/BushCache'; +import { BushConstants } from '../../utils/BushConstants'; +import { BushGuildResolvable } from '../discord.js/BushCommandInteraction'; +import { BushGuildMember } from '../discord.js/BushGuildMember'; +import { BushMessage } from '../discord.js/BushMessage'; +import { BushClient, BushGuildMemberResolvable } from './BushClient'; +import { BushSlashMessage } from './BushSlashMessage'; interface hastebinRes { key: string; |