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/commands/utilities | |
| parent | f9cf43fc47be2d497d92d728ea892246df96d736 (diff) | |
| download | tanzanite-08d7e6eb125c5ff6846c3a92491de79d291b8e12.tar.gz tanzanite-08d7e6eb125c5ff6846c3a92491de79d291b8e12.tar.bz2 tanzanite-08d7e6eb125c5ff6846c3a92491de79d291b8e12.zip | |
misc improvements & typings changes
Diffstat (limited to 'src/commands/utilities')
| -rw-r--r-- | src/commands/utilities/remind.ts | 2 | ||||
| -rw-r--r-- | src/commands/utilities/reminders.ts | 2 | ||||
| -rw-r--r-- | src/commands/utilities/steal.ts | 4 | ||||
| -rw-r--r-- | src/commands/utilities/suicide.ts | 2 | ||||
| -rw-r--r-- | src/commands/utilities/uuid.ts | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/commands/utilities/remind.ts b/src/commands/utilities/remind.ts index 8df24c1..6339343 100644 --- a/src/commands/utilities/remind.ts +++ b/src/commands/utilities/remind.ts @@ -1,4 +1,4 @@ -import { ArgType, BushCommand, Reminder, type BushMessage, type BushSlashMessage } from '#lib'; +import { BushCommand, Reminder, type ArgType, type BushMessage, type BushSlashMessage } from '#lib'; export default class RemindCommand extends BushCommand { public constructor() { diff --git a/src/commands/utilities/reminders.ts b/src/commands/utilities/reminders.ts index 7180aa9..34034d8 100644 --- a/src/commands/utilities/reminders.ts +++ b/src/commands/utilities/reminders.ts @@ -1,5 +1,5 @@ import { BushCommand, ButtonPaginator, Reminder, type BushMessage, type BushSlashMessage } from '#lib'; -import { MessageEmbedOptions } from 'discord.js'; +import { type MessageEmbedOptions } from 'discord.js'; import { Op } from 'sequelize'; export default class RemindersCommand extends BushCommand { diff --git a/src/commands/utilities/steal.ts b/src/commands/utilities/steal.ts index 480201a..67b8382 100644 --- a/src/commands/utilities/steal.ts +++ b/src/commands/utilities/steal.ts @@ -1,5 +1,5 @@ -import { ArgType, BushCommand, BushSlashMessage, type BushMessage } from '#lib'; -import { ArgumentOptions, ArgumentType, ArgumentTypeCaster, Flag } from 'discord-akairo'; +import { BushCommand, type ArgType, type BushMessage, type BushSlashMessage } from '#lib'; +import { type ArgumentOptions, type ArgumentType, type ArgumentTypeCaster, type Flag } from 'discord-akairo'; import _ from 'lodash'; import { URL } from 'url'; diff --git a/src/commands/utilities/suicide.ts b/src/commands/utilities/suicide.ts index 641f7ec..f0d75a2 100644 --- a/src/commands/utilities/suicide.ts +++ b/src/commands/utilities/suicide.ts @@ -1,5 +1,5 @@ import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage } from '#lib'; -import { Message, MessageEmbed } from 'discord.js'; +import { MessageEmbed, type Message } from 'discord.js'; export default class TemplateCommand extends BushCommand { public constructor() { diff --git a/src/commands/utilities/uuid.ts b/src/commands/utilities/uuid.ts index 6195edd..d842b58 100644 --- a/src/commands/utilities/uuid.ts +++ b/src/commands/utilities/uuid.ts @@ -1,4 +1,4 @@ -import { BushCommand, type BushMessage } from '#lib'; +import { BushCommand, type BushMessage, type BushSlashMessage } from '#lib'; export default class UuidCommand extends BushCommand { public constructor() { @@ -35,7 +35,7 @@ export default class UuidCommand extends BushCommand { } public override async exec( - message: BushMessage, + message: BushMessage | BushSlashMessage, { ign, dashed }: { ign: { match: RegExpMatchArray; matches: any[] }; dashed: boolean } ) { if (!ign) return await message.util.reply(`${util.emojis.error} Please enter a valid ign.`); |
