aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-04 17:07:38 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-04 17:07:38 -0400
commit1dee5bcda6a43eaa7fcc88ed3b0e458f32104de4 (patch)
treeaa4ae8c7e2315d6ebd6500000a17d3a1c45b4c87 /src/commands/moderation
parent153a40fbcd314459f94d9a2b44d3466c930c4e35 (diff)
downloadtanzanite-1dee5bcda6a43eaa7fcc88ed3b0e458f32104de4.tar.gz
tanzanite-1dee5bcda6a43eaa7fcc88ed3b0e458f32104de4.tar.bz2
tanzanite-1dee5bcda6a43eaa7fcc88ed3b0e458f32104de4.zip
cleaned up lib imports
Diffstat (limited to 'src/commands/moderation')
-rw-r--r--src/commands/moderation/ban.ts2
-rw-r--r--src/commands/moderation/kick.ts2
-rw-r--r--src/commands/moderation/modlog.ts4
-rw-r--r--src/commands/moderation/mute.ts5
-rw-r--r--src/commands/moderation/role.ts3
-rw-r--r--src/commands/moderation/warn.ts3
6 files changed, 6 insertions, 13 deletions
diff --git a/src/commands/moderation/ban.ts b/src/commands/moderation/ban.ts
index f3cc1e2..0c68497 100644
--- a/src/commands/moderation/ban.ts
+++ b/src/commands/moderation/ban.ts
@@ -1,5 +1,5 @@
import { Message, User } from 'discord.js';
-import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand';
+import { BushCommand } from '../../lib';
export default class BanCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/kick.ts b/src/commands/moderation/kick.ts
index f8bb5a1..8375198 100644
--- a/src/commands/moderation/kick.ts
+++ b/src/commands/moderation/kick.ts
@@ -1,5 +1,5 @@
import { GuildMember, Message } from 'discord.js';
-import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand';
+import { BushCommand } from '../../lib';
export default class KickCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/modlog.ts b/src/commands/moderation/modlog.ts
index 2f7601b..5be50a4 100644
--- a/src/commands/moderation/modlog.ts
+++ b/src/commands/moderation/modlog.ts
@@ -1,9 +1,7 @@
import { Argument } from 'discord-akairo';
import { MessageEmbed } from 'discord.js';
import moment from 'moment';
-import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand';
-import { BushMessage } from '../../lib/extensions/discord.js/BushMessage';
-import { ModLog } from '../../lib/models';
+import { BushCommand, BushMessage, ModLog } from '../../lib';
export default class ModlogCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/mute.ts b/src/commands/moderation/mute.ts
index 5e5cdba..33c0e32 100644
--- a/src/commands/moderation/mute.ts
+++ b/src/commands/moderation/mute.ts
@@ -1,8 +1,5 @@
import { Argument } from 'discord-akairo';
-import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand';
-import { BushGuildMember } from '../../lib/extensions/discord.js/BushGuildMember';
-import { BushMessage } from '../../lib/extensions/discord.js/BushMessage';
-import { BushUser } from '../../lib/extensions/discord.js/BushUser';
+import { BushCommand, BushGuildMember, BushMessage, BushUser } from '../../lib';
export default class MuteCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/role.ts b/src/commands/moderation/role.ts
index 71bb88e..83e85e0 100644
--- a/src/commands/moderation/role.ts
+++ b/src/commands/moderation/role.ts
@@ -1,7 +1,6 @@
/* eslint-disable @typescript-eslint/no-empty-function */
import { GuildMember, Message, Role } from 'discord.js';
-import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand';
-import AllowedMentions from '../../lib/utils/AllowedMentions';
+import { AllowedMentions, BushCommand } from '../../lib';
export default class RoleCommand extends BushCommand {
private roleWhitelist: Record<string, string[]> = {
diff --git a/src/commands/moderation/warn.ts b/src/commands/moderation/warn.ts
index 9df5891..f2b9142 100644
--- a/src/commands/moderation/warn.ts
+++ b/src/commands/moderation/warn.ts
@@ -1,6 +1,5 @@
import { GuildMember, Message } from 'discord.js';
-import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand';
-import { Guild, ModLog, ModLogType } from '../../lib/models';
+import { BushCommand, Guild, ModLog, ModLogType } from '../../lib';
export default class WarnCommand extends BushCommand {
public constructor() {