aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/_fake-command/ironmoon.ts2
-rw-r--r--src/commands/admin/channelPermissions.ts4
-rw-r--r--src/commands/admin/roleAll.ts4
-rw-r--r--src/commands/config/blacklist.ts7
-rw-r--r--src/commands/config/config.ts14
-rw-r--r--src/commands/config/customAutomodPhrases.ts2
-rw-r--r--src/commands/config/disable.ts2
-rw-r--r--src/commands/config/features.ts4
-rw-r--r--src/commands/config/levelRoles.ts2
-rw-r--r--src/commands/config/log.ts6
-rw-r--r--src/commands/dev/__template.ts2
-rw-r--r--src/commands/dev/eval.ts2
-rw-r--r--src/commands/dev/reload.ts2
-rw-r--r--src/commands/dev/say.ts5
-rw-r--r--src/commands/dev/servers.ts4
-rw-r--r--src/commands/dev/sh.ts2
-rw-r--r--src/commands/dev/superUser.ts6
-rw-r--r--src/commands/dev/test.ts8
-rw-r--r--src/commands/fun/coinflip.ts2
-rw-r--r--src/commands/fun/dice.ts2
-rw-r--r--src/commands/fun/eightBall.ts2
-rw-r--r--src/commands/fun/minesweeper.ts2
-rw-r--r--src/commands/info/avatar.ts4
-rw-r--r--src/commands/info/botInfo.ts2
-rw-r--r--src/commands/info/color.ts8
-rw-r--r--src/commands/info/guildInfo.ts4
-rw-r--r--src/commands/info/help.ts1
-rw-r--r--src/commands/info/icon.ts2
-rw-r--r--src/commands/info/links.ts2
-rw-r--r--src/commands/info/ping.ts4
-rw-r--r--src/commands/info/pronouns.ts4
-rw-r--r--src/commands/info/snowflake.ts28
-rw-r--r--src/commands/info/userInfo.ts4
-rw-r--r--src/commands/leveling/leaderboard.ts2
-rw-r--r--src/commands/leveling/level.ts2
-rw-r--r--src/commands/leveling/setLevel.ts4
-rw-r--r--src/commands/leveling/setXp.ts4
-rw-r--r--src/commands/moderation/_lockdown.ts2
-rw-r--r--src/commands/moderation/ban.ts4
-rw-r--r--src/commands/moderation/evidence.ts4
-rw-r--r--src/commands/moderation/hideCase.ts2
-rw-r--r--src/commands/moderation/kick.ts2
-rw-r--r--src/commands/moderation/modlog.ts2
-rw-r--r--src/commands/moderation/mute.ts2
-rw-r--r--src/commands/moderation/purge.ts2
-rw-r--r--src/commands/moderation/removeReactionEmoji.ts4
-rw-r--r--src/commands/moderation/role.ts4
-rw-r--r--src/commands/moderation/slowmode.ts4
-rw-r--r--src/commands/moderation/unban.ts2
-rw-r--r--src/commands/moderation/unmute.ts2
-rw-r--r--src/commands/moderation/warn.ts2
-rw-r--r--src/commands/moulberry-bush/capePerms.ts2
-rw-r--r--src/commands/moulberry-bush/capes.ts4
-rw-r--r--src/commands/moulberry-bush/giveawayPing.ts2
-rw-r--r--src/commands/moulberry-bush/moulHammer.ts4
-rw-r--r--src/commands/moulberry-bush/report.ts4
-rw-r--r--src/commands/moulberry-bush/rule.ts4
-rw-r--r--src/commands/moulberry-bush/serverStatus.ts2
-rw-r--r--src/commands/utilities/activity.ts2
-rw-r--r--src/commands/utilities/calculator.ts2
-rw-r--r--src/commands/utilities/decode.ts4
-rw-r--r--src/commands/utilities/hash.ts2
-rw-r--r--src/commands/utilities/price.ts2
-rw-r--r--src/commands/utilities/steal.ts4
-rw-r--r--src/commands/utilities/suicide.ts2
-rw-r--r--src/commands/utilities/uuid.ts2
-rw-r--r--src/commands/utilities/viewRaw.ts4
-rw-r--r--src/commands/utilities/whoHasRole.ts4
-rw-r--r--src/commands/utilities/wolframAlpha.ts4
69 files changed, 126 insertions, 127 deletions
diff --git a/src/commands/_fake-command/ironmoon.ts b/src/commands/_fake-command/ironmoon.ts
index 612db85..dc34ab6 100644
--- a/src/commands/_fake-command/ironmoon.ts
+++ b/src/commands/_fake-command/ironmoon.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
export default class IronmoonCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/admin/channelPermissions.ts b/src/commands/admin/channelPermissions.ts
index dc35c87..3b0b5f1 100644
--- a/src/commands/admin/channelPermissions.ts
+++ b/src/commands/admin/channelPermissions.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage, ButtonPaginator } from '@lib';
-import { GuildMember, MessageEmbed, PermissionString, Role } from 'discord.js';
+import { BushCommand, ButtonPaginator, type BushMessage, type BushSlashMessage } from '@lib';
+import { MessageEmbed, type GuildMember, type PermissionString, type Role } from 'discord.js';
export default class ChannelPermissionsCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/admin/roleAll.ts b/src/commands/admin/roleAll.ts
index 1e67874..a9db11d 100644
--- a/src/commands/admin/roleAll.ts
+++ b/src/commands/admin/roleAll.ts
@@ -1,5 +1,5 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage } from '@lib';
-import { GuildMember, Role } from 'discord.js';
+import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
+import { type GuildMember, type Role } from 'discord.js';
export default class RoleAllCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/config/blacklist.ts b/src/commands/config/blacklist.ts
index c928265..bac3ef3 100644
--- a/src/commands/config/blacklist.ts
+++ b/src/commands/config/blacklist.ts
@@ -1,6 +1,5 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage, Global } from '@lib';
-import { Argument } from 'discord-akairo';
-import { Channel, User } from 'discord.js';
+import { AllowedMentions, BushCommand, Global, type BushMessage, type BushSlashMessage } from '@lib';
+import { User, type Channel } from 'discord.js';
export default class BlacklistCommand extends BushCommand {
public constructor() {
@@ -15,7 +14,7 @@ export default class BlacklistCommand extends BushCommand {
args: [
{
id: 'target',
- customType: Argument.union('channel', 'user'),
+ customType: util.arg.union('channel', 'user'),
prompt: {
start: 'What channel or user that you would like to blacklist/unblacklist?',
retry: '{error} Pick a valid user or channel.'
diff --git a/src/commands/config/config.ts b/src/commands/config/config.ts
index 3342456..555b47d 100644
--- a/src/commands/config/config.ts
+++ b/src/commands/config/config.ts
@@ -1,19 +1,19 @@
-import { BushCommand, BushMessage, BushSlashMessage, GuildSettings, guildSettingsObj, settingsArr } from '@lib';
-import { ArgumentOptions, Flag } from 'discord-akairo';
+import { BushCommand, guildSettingsObj, settingsArr, type BushMessage, type BushSlashMessage, type GuildSettings } from '@lib';
+import { type ArgumentOptions, type Flag } from 'discord-akairo';
import {
Channel,
Formatters,
GuildMember,
- Message,
MessageActionRow,
MessageButton,
- MessageComponentInteraction,
MessageEmbed,
- MessageOptions,
MessageSelectMenu,
Role,
- Snowflake,
- User
+ User,
+ type Message,
+ type MessageComponentInteraction,
+ type MessageOptions,
+ type Snowflake
} from 'discord.js';
import _ from 'lodash';
diff --git a/src/commands/config/customAutomodPhrases.ts b/src/commands/config/customAutomodPhrases.ts
index 6bed8fd..25201ff 100644
--- a/src/commands/config/customAutomodPhrases.ts
+++ b/src/commands/config/customAutomodPhrases.ts
@@ -1,4 +1,4 @@
-// import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+// import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
// export default class CustomAutomodPhrasesCommand extends BushCommand {
// public constructor() {
diff --git a/src/commands/config/disable.ts b/src/commands/config/disable.ts
index 521972b..3ada74e 100644
--- a/src/commands/config/disable.ts
+++ b/src/commands/config/disable.ts
@@ -1,4 +1,4 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage, Global } from '@lib';
+import { AllowedMentions, BushCommand, Global, type BushMessage, type BushSlashMessage } from '@lib';
export default class DisableCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/config/features.ts b/src/commands/config/features.ts
index 8285845..065253c 100644
--- a/src/commands/config/features.ts
+++ b/src/commands/config/features.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage, GuildFeatures, guildFeaturesArr, guildFeaturesObj } from '@lib';
-import { Message, MessageActionRow, MessageEmbed, MessageSelectMenu, SelectMenuInteraction } from 'discord.js';
+import { BushCommand, guildFeaturesArr, guildFeaturesObj, type BushMessage, type BushSlashMessage, type GuildFeatures } from '@lib';
+import { MessageActionRow, MessageEmbed, MessageSelectMenu, type Message, type SelectMenuInteraction } from 'discord.js';
export default class FeaturesCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/config/levelRoles.ts b/src/commands/config/levelRoles.ts
index c8f0bf3..e788615 100644
--- a/src/commands/config/levelRoles.ts
+++ b/src/commands/config/levelRoles.ts
@@ -1,4 +1,4 @@
-// import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+// import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
// export default class LevelRolesCommand extends BushCommand {
// public constructor() {
diff --git a/src/commands/config/log.ts b/src/commands/config/log.ts
index c364a35..af68483 100644
--- a/src/commands/config/log.ts
+++ b/src/commands/config/log.ts
@@ -1,6 +1,6 @@
-import { BushCommand, BushMessage, BushSlashMessage, guildLogsArr, GuildLogType } from '@lib';
-import { ArgumentOptions, Flag } from 'discord-akairo';
-import { TextChannel } from 'discord.js';
+import { BushCommand, guildLogsArr, type BushMessage, type BushSlashMessage, type GuildLogType } from '@lib';
+import { type ArgumentOptions, type Flag } from 'discord-akairo';
+import { type TextChannel } from 'discord.js';
export default class LogCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/dev/__template.ts b/src/commands/dev/__template.ts
index 0d25766..85cc06e 100644
--- a/src/commands/dev/__template.ts
+++ b/src/commands/dev/__template.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
export default class TemplateCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts
index 5bb99e7..e22f937 100644
--- a/src/commands/dev/eval.ts
+++ b/src/commands/dev/eval.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import { exec } from 'child_process';
import { MessageEmbed as _MessageEmbed } from 'discord.js';
import { transpile } from 'typescript';
diff --git a/src/commands/dev/reload.ts b/src/commands/dev/reload.ts
index a95106f..7920a37 100644
--- a/src/commands/dev/reload.ts
+++ b/src/commands/dev/reload.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
export default class ReloadCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/dev/say.ts b/src/commands/dev/say.ts
index 947f3c2..3a8b2de 100644
--- a/src/commands/dev/say.ts
+++ b/src/commands/dev/say.ts
@@ -1,5 +1,4 @@
-import { AllowedMentions, BushCommand, BushMessage } from '@lib';
-import { AkairoMessage } from 'discord-akairo';
+import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
export default class SayCommand extends BushCommand {
public constructor() {
@@ -35,7 +34,7 @@ export default class SayCommand extends BushCommand {
await message.util.send({ content: args.content, allowedMentions: AllowedMentions.none() }).catch(() => null);
}
- public override async execSlash(message: AkairoMessage, args: { content: string }) {
+ public override async execSlash(message: BushSlashMessage, args: { content: string }) {
if (!client.config.owners.includes(message.author.id)) {
return await message.interaction.reply({
content: `${util.emojis.error} Only my developers can run this command.`,
diff --git a/src/commands/dev/servers.ts b/src/commands/dev/servers.ts
index e26d2c7..4b98ed9 100644
--- a/src/commands/dev/servers.ts
+++ b/src/commands/dev/servers.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage, ButtonPaginator } from '@lib';
-import { Guild, MessageEmbedOptions } from 'discord.js';
+import { BushCommand, ButtonPaginator, type BushMessage, type BushSlashMessage } from '@lib';
+import { type Guild, type MessageEmbedOptions } from 'discord.js';
export default class ServersCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/dev/sh.ts b/src/commands/dev/sh.ts
index 11cd28d..e32408d 100644
--- a/src/commands/dev/sh.ts
+++ b/src/commands/dev/sh.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import chalk from 'chalk';
import { exec } from 'child_process';
import { MessageEmbed, Util } from 'discord.js';
diff --git a/src/commands/dev/superUser.ts b/src/commands/dev/superUser.ts
index 147a6c4..41cd7eb 100644
--- a/src/commands/dev/superUser.ts
+++ b/src/commands/dev/superUser.ts
@@ -1,6 +1,6 @@
-import { BushCommand, BushMessage, BushSlashMessage, Global } from '@lib';
-import { ArgumentOptions, Flag } from 'discord-akairo';
-import { User } from 'discord.js';
+import { BushCommand, Global, type BushMessage, type BushSlashMessage } from '@lib';
+import { type ArgumentOptions, type Flag } from 'discord-akairo';
+import { type User } from 'discord.js';
export default class SuperUserCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/dev/test.ts b/src/commands/dev/test.ts
index 8ea57f9..d6c20f7 100644
--- a/src/commands/dev/test.ts
+++ b/src/commands/dev/test.ts
@@ -1,11 +1,11 @@
-import { BushCommand, BushMessage, ButtonPaginator } from '@lib';
+import { BushCommand, ButtonPaginator, type BushMessage } from '@lib';
import {
- ApplicationCommand,
- Collection,
Constants as jsConstants,
MessageActionRow,
MessageButton,
- MessageEmbed
+ MessageEmbed,
+ type ApplicationCommand,
+ type Collection
} from 'discord.js';
export default class TestCommand extends BushCommand {
diff --git a/src/commands/fun/coinflip.ts b/src/commands/fun/coinflip.ts
index 2d1f70c..ef55518 100644
--- a/src/commands/fun/coinflip.ts
+++ b/src/commands/fun/coinflip.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
export default class CoinFlipCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/fun/dice.ts b/src/commands/fun/dice.ts
index 5058617..fef5c7a 100644
--- a/src/commands/fun/dice.ts
+++ b/src/commands/fun/dice.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
export default class EightBallCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/fun/eightBall.ts b/src/commands/fun/eightBall.ts
index e96e006..2555fdb 100644
--- a/src/commands/fun/eightBall.ts
+++ b/src/commands/fun/eightBall.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
export default class EightBallCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/fun/minesweeper.ts b/src/commands/fun/minesweeper.ts
index c9b0a8c..6c6d4f4 100644
--- a/src/commands/fun/minesweeper.ts
+++ b/src/commands/fun/minesweeper.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import Minesweeper from 'discord.js-minesweeper';
export default class MinesweeperCommand extends BushCommand {
diff --git a/src/commands/info/avatar.ts b/src/commands/info/avatar.ts
index 44e1556..10994d9 100644
--- a/src/commands/info/avatar.ts
+++ b/src/commands/info/avatar.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
-import { GuildMember, MessageEmbed, User } from 'discord.js';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
+import { GuildMember, MessageEmbed, type User } from 'discord.js';
export default class AvatarCommand extends BushCommand {
constructor() {
diff --git a/src/commands/info/botInfo.ts b/src/commands/info/botInfo.ts
index a072224..d5f37e8 100644
--- a/src/commands/info/botInfo.ts
+++ b/src/commands/info/botInfo.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import { MessageEmbed, version as discordJSVersion } from 'discord.js';
import * as os from 'os';
import prettyBytes from 'pretty-bytes';
diff --git a/src/commands/info/color.ts b/src/commands/info/color.ts
index 021f319..5c3f14c 100644
--- a/src/commands/info/color.ts
+++ b/src/commands/info/color.ts
@@ -1,7 +1,7 @@
-import { AllowedMentions, BushCommand, BushGuildMember, BushMessage, BushRole, BushSlashMessage } from '@lib';
+import { AllowedMentions, BushCommand, type BushGuildMember, type BushMessage, type BushRole, type BushSlashMessage } from '@lib';
import { Argument } from 'discord-akairo';
-import { Message, MessageEmbed, Role } from 'discord.js';
-import tinycolor from 'tinycolor2'; // this is the only way I got it to work consistently
+import { MessageEmbed, Role, type Message } from 'discord.js';
+import tinycolor from 'tinycolor2';
const isValidTinyColor = (_message: Message, phase: string) => {
// if the phase is a number it converts it to hex incase it could be representing a color in decimal
@@ -37,7 +37,7 @@ export default class ColorCommand extends BushCommand {
}
public removePrefixAndParenthesis(color: string): string {
- return color.substr(4, color.length - 5);
+ return color.substring(4, color.length - 5);
}
public override async exec(message: BushMessage | BushSlashMessage, args: { color: string | BushRole | BushGuildMember }) {
diff --git a/src/commands/info/guildInfo.ts b/src/commands/info/guildInfo.ts
index 51d9984..3c287dd 100644
--- a/src/commands/info/guildInfo.ts
+++ b/src/commands/info/guildInfo.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
-import { BaseGuildVoiceChannel, Guild, GuildPreview, MessageEmbed, Snowflake, Vanity } from 'discord.js';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
+import { Guild, MessageEmbed, type BaseGuildVoiceChannel, type GuildPreview, type Snowflake, type Vanity } from 'discord.js';
export default class GuildInfoCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/info/help.ts b/src/commands/info/help.ts
index c814adb..e22aa5d 100644
--- a/src/commands/info/help.ts
+++ b/src/commands/info/help.ts
@@ -1,6 +1,7 @@
import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
import { MessageActionRow, MessageButton, MessageEmbed } from 'discord.js';
import packageDotJSON from '../../../package.json';
+
export default class HelpCommand extends BushCommand {
public constructor() {
super('help', {
diff --git a/src/commands/info/icon.ts b/src/commands/info/icon.ts
index 0eb7bfc..b9cc4e0 100644
--- a/src/commands/info/icon.ts
+++ b/src/commands/info/icon.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import { MessageEmbed } from 'discord.js';
export default class IconCommand extends BushCommand {
diff --git a/src/commands/info/links.ts b/src/commands/info/links.ts
index 7b52fef..d4bcff0 100644
--- a/src/commands/info/links.ts
+++ b/src/commands/info/links.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import { MessageActionRow, MessageButton } from 'discord.js';
import packageDotJSON from '../../../package.json';
diff --git a/src/commands/info/ping.ts b/src/commands/info/ping.ts
index 8d05307..831eeb7 100644
--- a/src/commands/info/ping.ts
+++ b/src/commands/info/ping.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
-import { Message, MessageEmbed } from 'discord.js';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
+import { MessageEmbed, type Message } from 'discord.js';
export default class PingCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/info/pronouns.ts b/src/commands/info/pronouns.ts
index 132b719..390d1bb 100644
--- a/src/commands/info/pronouns.ts
+++ b/src/commands/info/pronouns.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
-import { MessageEmbed, User } from 'discord.js';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
+import { MessageEmbed, type User } from 'discord.js';
export default class PronounsCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/info/snowflake.ts b/src/commands/info/snowflake.ts
index 2b75b30..2b3c816 100644
--- a/src/commands/info/snowflake.ts
+++ b/src/commands/info/snowflake.ts
@@ -1,20 +1,20 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import {
- CategoryChannel,
- Channel,
- DeconstructedSnowflake,
- DMChannel,
- Emoji,
- Guild,
MessageEmbed,
- NewsChannel,
- Role,
- Snowflake,
SnowflakeUtil,
- StageChannel,
- TextChannel,
- User,
- VoiceChannel
+ VoiceChannel,
+ type CategoryChannel,
+ type Channel,
+ type DeconstructedSnowflake,
+ type DMChannel,
+ type Emoji,
+ type Guild,
+ type NewsChannel,
+ type Role,
+ type Snowflake,
+ type StageChannel,
+ type TextChannel,
+ type User
} from 'discord.js';
export default class SnowflakeCommand extends BushCommand {
diff --git a/src/commands/info/userInfo.ts b/src/commands/info/userInfo.ts
index 7969875..fe4fd85 100644
--- a/src/commands/info/userInfo.ts
+++ b/src/commands/info/userInfo.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage, BushUser } from '@lib';
-import { MessageEmbed, Snowflake } from 'discord.js';
+import { BushCommand, type BushMessage, type BushSlashMessage, type BushUser } from '@lib';
+import { MessageEmbed, type Snowflake } from 'discord.js';
// TODO: Add bot information
export default class UserInfoCommand extends BushCommand {
diff --git a/src/commands/leveling/leaderboard.ts b/src/commands/leveling/leaderboard.ts
index 61d3769..baede6c 100644
--- a/src/commands/leveling/leaderboard.ts
+++ b/src/commands/leveling/leaderboard.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage, ButtonPaginator, Level } from '@lib';
+import { BushCommand, ButtonPaginator, Level, type BushMessage, type BushSlashMessage } from '@lib';
import { MessageEmbed } from 'discord.js';
export default class LeaderboardCommand extends BushCommand {
diff --git a/src/commands/leveling/level.ts b/src/commands/leveling/level.ts
index 588456b..9f2e6bb 100644
--- a/src/commands/leveling/level.ts
+++ b/src/commands/leveling/level.ts
@@ -1,4 +1,4 @@
-import { AllowedMentions, BushCommand, BushGuild, BushMessage, BushSlashMessage, BushUser, CanvasProgressBar, Level } from '@lib';
+import { AllowedMentions, BushCommand, CanvasProgressBar, Level, type BushGuild, type BushMessage, type BushSlashMessage, type BushUser } from '@lib';
import canvas from 'canvas';
import { MessageAttachment } from 'discord.js';
import got from 'got/dist/source';
diff --git a/src/commands/leveling/setLevel.ts b/src/commands/leveling/setLevel.ts
index 18138bc..9e73308 100644
--- a/src/commands/leveling/setLevel.ts
+++ b/src/commands/leveling/setLevel.ts
@@ -1,5 +1,5 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage, Level } from '@lib';
-import { User } from 'discord.js';
+import { AllowedMentions, BushCommand, Level, type BushMessage, type BushSlashMessage } from '@lib';
+import { type User } from 'discord.js';
export default class SetLevelCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/leveling/setXp.ts b/src/commands/leveling/setXp.ts
index 4bcaff6..a00bfc9 100644
--- a/src/commands/leveling/setXp.ts
+++ b/src/commands/leveling/setXp.ts
@@ -1,5 +1,5 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage, Level } from '@lib';
-import { User } from 'discord.js';
+import { AllowedMentions, BushCommand, Level, type BushMessage, type BushSlashMessage } from '@lib';
+import { type User } from 'discord.js';
export default class SetXpCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/_lockdown.ts b/src/commands/moderation/_lockdown.ts
index 34d5698..e71bd80 100644
--- a/src/commands/moderation/_lockdown.ts
+++ b/src/commands/moderation/_lockdown.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushNewsChannel, BushSlashMessage, BushTextChannel } from '@lib';
+import { BushCommand, type BushMessage, type BushNewsChannel, type BushSlashMessage, type BushTextChannel } from '@lib';
export default class LockdownCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/ban.ts b/src/commands/moderation/ban.ts
index 5569069..660235f 100644
--- a/src/commands/moderation/ban.ts
+++ b/src/commands/moderation/ban.ts
@@ -1,5 +1,5 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage, Moderation } from '@lib';
-import { Snowflake, User } from 'discord.js';
+import { AllowedMentions, BushCommand, Moderation, type BushMessage, type BushSlashMessage } from '@lib';
+import { type Snowflake, type User } from 'discord.js';
export default class BanCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/evidence.ts b/src/commands/moderation/evidence.ts
index 8dc65f3..a2fa40b 100644
--- a/src/commands/moderation/evidence.ts
+++ b/src/commands/moderation/evidence.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage, ModLog } from '@lib';
-import { ArgumentOptions, Flag } from 'discord-akairo';
+import { BushCommand, ModLog, type BushMessage, type BushSlashMessage } from '@lib';
+import { type ArgumentOptions, type Flag } from 'discord-akairo';
export default class EvidenceCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/hideCase.ts b/src/commands/moderation/hideCase.ts
index 693197a..44170a9 100644
--- a/src/commands/moderation/hideCase.ts
+++ b/src/commands/moderation/hideCase.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage, ModLog } from '@lib';
+import { BushCommand, ModLog, type BushMessage, type BushSlashMessage } from '@lib';
export default class HideCaseCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/kick.ts b/src/commands/moderation/kick.ts
index dab6807..858a392 100644
--- a/src/commands/moderation/kick.ts
+++ b/src/commands/moderation/kick.ts
@@ -1,4 +1,4 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage, BushUser, Moderation } from '@lib';
+import { AllowedMentions, BushCommand, Moderation, type BushMessage, type BushSlashMessage, type BushUser } 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 2bd0f5a..35ac6f6 100644
--- a/src/commands/moderation/modlog.ts
+++ b/src/commands/moderation/modlog.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage, BushUser, ButtonPaginator, ModLog } from '@lib';
+import { BushCommand, ButtonPaginator, ModLog, type BushMessage, type BushSlashMessage, type BushUser } from '@lib';
import { MessageEmbed, User } from 'discord.js';
export default class ModlogCommand extends BushCommand {
diff --git a/src/commands/moderation/mute.ts b/src/commands/moderation/mute.ts
index 6f594a0..9938d3f 100644
--- a/src/commands/moderation/mute.ts
+++ b/src/commands/moderation/mute.ts
@@ -1,4 +1,4 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage, BushUser, Moderation } from '@lib';
+import { AllowedMentions, BushCommand, Moderation, type BushMessage, type BushSlashMessage, type BushUser } from '@lib';
export default class MuteCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/purge.ts b/src/commands/moderation/purge.ts
index e5fea8e..ef2b0b5 100644
--- a/src/commands/moderation/purge.ts
+++ b/src/commands/moderation/purge.ts
@@ -1,5 +1,5 @@
import { BushCommand, BushMessage } from '@lib';
-import { Collection, Snowflake } from 'discord.js';
+import { Collection, type Snowflake } from 'discord.js';
export default class PurgeCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/removeReactionEmoji.ts b/src/commands/moderation/removeReactionEmoji.ts
index 3e14aa2..1645b46 100644
--- a/src/commands/moderation/removeReactionEmoji.ts
+++ b/src/commands/moderation/removeReactionEmoji.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage } from '@lib';
-import { Emoji, Snowflake } from 'discord.js';
+import { BushCommand, type BushMessage } from '@lib';
+import { type Emoji, type Snowflake } from 'discord.js';
export default class RemoveReactionEmojiCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/role.ts b/src/commands/moderation/role.ts
index a0d6518..73901e5 100644
--- a/src/commands/moderation/role.ts
+++ b/src/commands/moderation/role.ts
@@ -1,5 +1,5 @@
-import { AllowedMentions, BushCommand, BushGuildMember, BushMessage, BushRole, BushSlashMessage } from '@lib';
-import { ArgumentOptions, Flag } from 'discord-akairo';
+import { AllowedMentions, BushCommand, type BushGuildMember, type BushMessage, type BushRole, type BushSlashMessage } from '@lib';
+import { type ArgumentOptions, type Flag } from 'discord-akairo';
export default class RoleCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/slowmode.ts b/src/commands/moderation/slowmode.ts
index 4192ecf..40b5ed1 100644
--- a/src/commands/moderation/slowmode.ts
+++ b/src/commands/moderation/slowmode.ts
@@ -1,6 +1,6 @@
-import { BushCommand, BushMessage, BushNewsChannel, BushSlashMessage, BushTextChannel, BushThreadChannel } from '@lib';
+import { BushCommand, type BushMessage, type BushNewsChannel, type BushSlashMessage, type BushTextChannel, type BushThreadChannel } from '@lib';
import { Argument } from 'discord-akairo';
-import { NewsChannel, TextChannel, ThreadChannel } from 'discord.js';
+import { TextChannel, ThreadChannel, type NewsChannel } from 'discord.js';
export default class SlowModeCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/unban.ts b/src/commands/moderation/unban.ts
index 3d61e82..ec610d9 100644
--- a/src/commands/moderation/unban.ts
+++ b/src/commands/moderation/unban.ts
@@ -1,4 +1,4 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage, BushUser } from '@lib';
+import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage, type BushUser } from '@lib';
export default class UnbanCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/unmute.ts b/src/commands/moderation/unmute.ts
index ca7861c..f0e0899 100644
--- a/src/commands/moderation/unmute.ts
+++ b/src/commands/moderation/unmute.ts
@@ -1,4 +1,4 @@
-import { AllowedMentions, BushCommand, BushGuildMember, BushMessage, BushSlashMessage, BushUser, Moderation } from '@lib';
+import { AllowedMentions, BushCommand, Moderation, type BushGuildMember, type BushMessage, type BushSlashMessage, type BushUser } from '@lib';
export default class UnmuteCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moderation/warn.ts b/src/commands/moderation/warn.ts
index d326806..a050351 100644
--- a/src/commands/moderation/warn.ts
+++ b/src/commands/moderation/warn.ts
@@ -1,4 +1,4 @@
-import { AllowedMentions, BushCommand, BushGuildMember, BushMessage, BushSlashMessage, BushUser, Moderation } from '@lib';
+import { AllowedMentions, BushCommand, Moderation, type BushGuildMember, type BushMessage, type BushSlashMessage, type BushUser } from '@lib';
export default class WarnCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moulberry-bush/capePerms.ts b/src/commands/moulberry-bush/capePerms.ts
index ddd975d..703f32e 100644
--- a/src/commands/moulberry-bush/capePerms.ts
+++ b/src/commands/moulberry-bush/capePerms.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import { MessageEmbed } from 'discord.js';
import got from 'got';
diff --git a/src/commands/moulberry-bush/capes.ts b/src/commands/moulberry-bush/capes.ts
index 3590d9f..fab70df 100644
--- a/src/commands/moulberry-bush/capes.ts
+++ b/src/commands/moulberry-bush/capes.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, ButtonPaginator, DeleteButton } from '@lib';
-import { MessageEmbedOptions } from 'discord.js';
+import { BushCommand, ButtonPaginator, DeleteButton, type BushMessage } from '@lib';
+import { type MessageEmbedOptions } from 'discord.js';
import got from 'got';
export default class CapesCommand extends BushCommand {
diff --git a/src/commands/moulberry-bush/giveawayPing.ts b/src/commands/moulberry-bush/giveawayPing.ts
index 7aa3001..54a31e7 100644
--- a/src/commands/moulberry-bush/giveawayPing.ts
+++ b/src/commands/moulberry-bush/giveawayPing.ts
@@ -1,4 +1,4 @@
-import { AllowedMentions, BushCommand, BushMessage } from '@lib';
+import { AllowedMentions, BushCommand, type BushMessage } from '@lib';
export default class GiveawayPingCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moulberry-bush/moulHammer.ts b/src/commands/moulberry-bush/moulHammer.ts
index 5f1c11a..2c10bd4 100644
--- a/src/commands/moulberry-bush/moulHammer.ts
+++ b/src/commands/moulberry-bush/moulHammer.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage } from '@lib';
-import { MessageEmbed, User } from 'discord.js';
+import { BushCommand, type BushMessage } from '@lib';
+import { MessageEmbed, type User } from 'discord.js';
export default class MoulHammerCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moulberry-bush/report.ts b/src/commands/moulberry-bush/report.ts
index ae6d8c7..9a69c4a 100644
--- a/src/commands/moulberry-bush/report.ts
+++ b/src/commands/moulberry-bush/report.ts
@@ -1,5 +1,5 @@
-import { AllowedMentions, BushCommand, BushMessage } from '@lib';
-import { GuildMember, MessageEmbed } from 'discord.js';
+import { AllowedMentions, BushCommand, type BushMessage } from '@lib';
+import { MessageEmbed, type GuildMember } from 'discord.js';
import moment from 'moment';
export default class ReportCommand extends BushCommand {
diff --git a/src/commands/moulberry-bush/rule.ts b/src/commands/moulberry-bush/rule.ts
index fa421f5..6beb6b4 100644
--- a/src/commands/moulberry-bush/rule.ts
+++ b/src/commands/moulberry-bush/rule.ts
@@ -1,5 +1,5 @@
-import { AllowedMentions, BushCommand, BushMessage } from '@lib';
-import { MessageEmbed, User } from 'discord.js';
+import { AllowedMentions, BushCommand, type BushMessage } from '@lib';
+import { MessageEmbed, type User } from 'discord.js';
const rules = [
{
diff --git a/src/commands/moulberry-bush/serverStatus.ts b/src/commands/moulberry-bush/serverStatus.ts
index f656e4c..17f1090 100644
--- a/src/commands/moulberry-bush/serverStatus.ts
+++ b/src/commands/moulberry-bush/serverStatus.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage } from '@lib';
+import { BushCommand, type BushMessage } from '@lib';
import { MessageEmbed } from 'discord.js';
import got from 'got';
diff --git a/src/commands/utilities/activity.ts b/src/commands/utilities/activity.ts
index 455bbf3..91d6328 100644
--- a/src/commands/utilities/activity.ts
+++ b/src/commands/utilities/activity.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import { DiscordAPIError, Message, VoiceChannel } from 'discord.js';
const activityMap = {
diff --git a/src/commands/utilities/calculator.ts b/src/commands/utilities/calculator.ts
index b32b29b..1df4264 100644
--- a/src/commands/utilities/calculator.ts
+++ b/src/commands/utilities/calculator.ts
@@ -1,4 +1,4 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import { MessageEmbed } from 'discord.js';
import { evaluate } from 'mathjs';
diff --git a/src/commands/utilities/decode.ts b/src/commands/utilities/decode.ts
index 6812d91..5ecd6f1 100644
--- a/src/commands/utilities/decode.ts
+++ b/src/commands/utilities/decode.ts
@@ -1,5 +1,5 @@
-import { AllowedMentions, BushCommand, BushMessage } from '@lib';
-import { AkairoMessage } from 'discord-akairo';
+import { AllowedMentions, BushCommand, type BushMessage } from '@lib';
+import { type AkairoMessage } from 'discord-akairo';
import { MessageEmbed } from 'discord.js';
const encodingTypesArray = ['ascii', 'utf8', 'utf-8', 'utf16le', 'ucs2', 'ucs-2', 'base64', 'latin1', 'binary', 'hex'];
diff --git a/src/commands/utilities/hash.ts b/src/commands/utilities/hash.ts
index 646ed28..5b3bcfb 100644
--- a/src/commands/utilities/hash.ts
+++ b/src/commands/utilities/hash.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage } from '@lib';
+import { BushCommand, type BushMessage } from '@lib';
import crypto from 'crypto';
import got from 'got';
diff --git a/src/commands/utilities/price.ts b/src/commands/utilities/price.ts
index a232e56..333bfea 100644
--- a/src/commands/utilities/price.ts
+++ b/src/commands/utilities/price.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage } from '@lib';
+import { BushCommand, type BushMessage } from '@lib';
import { MessageEmbed } from 'discord.js';
import Fuse from 'fuse.js';
import got from 'got';
diff --git a/src/commands/utilities/steal.ts b/src/commands/utilities/steal.ts
index b92a2da..4ee7fb1 100644
--- a/src/commands/utilities/steal.ts
+++ b/src/commands/utilities/steal.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage } from '@lib';
-import { Snowflake } from 'discord-api-types';
+import { BushCommand, type BushMessage } from '@lib';
+import { type Snowflake } from 'discord.js';
export default class StealCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/utilities/suicide.ts b/src/commands/utilities/suicide.ts
index 8d6f002..8050dcb 100644
--- a/src/commands/utilities/suicide.ts
+++ b/src/commands/utilities/suicide.ts
@@ -1,4 +1,4 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import { MessageEmbed } from 'discord.js';
export default class TemplateCommand extends BushCommand {
diff --git a/src/commands/utilities/uuid.ts b/src/commands/utilities/uuid.ts
index 56566d4..64e5b56 100644
--- a/src/commands/utilities/uuid.ts
+++ b/src/commands/utilities/uuid.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage } from '@lib';
+import { BushCommand, type BushMessage } from '@lib';
export default class UuidCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/utilities/viewRaw.ts b/src/commands/utilities/viewRaw.ts
index 3667d40..45939b0 100644
--- a/src/commands/utilities/viewRaw.ts
+++ b/src/commands/utilities/viewRaw.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
-import { DMChannel, MessageEmbed, NewsChannel, Snowflake, TextChannel } from 'discord.js';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
+import { MessageEmbed, type DMChannel, type NewsChannel, type Snowflake, type TextChannel } from 'discord.js';
export default class ViewRawCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/utilities/whoHasRole.ts b/src/commands/utilities/whoHasRole.ts
index ce7a70e..69285d8 100644
--- a/src/commands/utilities/whoHasRole.ts
+++ b/src/commands/utilities/whoHasRole.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage, ButtonPaginator } from '@lib';
-import { CommandInteraction, Role, Util } from 'discord.js';
+import { BushCommand, ButtonPaginator, type BushMessage, type BushSlashMessage } from '@lib';
+import { Util, type CommandInteraction, type Role } from 'discord.js';
export default class WhoHasRoleCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/utilities/wolframAlpha.ts b/src/commands/utilities/wolframAlpha.ts
index ea055e8..a2b4036 100644
--- a/src/commands/utilities/wolframAlpha.ts
+++ b/src/commands/utilities/wolframAlpha.ts
@@ -1,5 +1,5 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage } from '@lib';
-import { MessageEmbed, MessageOptions } from 'discord.js';
+import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
+import { MessageEmbed, type MessageOptions } from 'discord.js';
import WolframAlphaAPI from 'wolfram-alpha-api';
export default class WolframAlphaCommand extends BushCommand {