diff options
Diffstat (limited to 'src/arguments')
-rw-r--r-- | src/arguments/contentWithDuration.ts | 2 | ||||
-rw-r--r-- | src/arguments/globalUser.ts | 2 | ||||
-rw-r--r-- | src/arguments/messageLink.ts | 2 | ||||
-rw-r--r-- | src/arguments/permission.ts | 2 | ||||
-rw-r--r-- | src/arguments/roleWithDuration.ts | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/arguments/contentWithDuration.ts b/src/arguments/contentWithDuration.ts index 3d87061..cd8549b 100644 --- a/src/arguments/contentWithDuration.ts +++ b/src/arguments/contentWithDuration.ts @@ -1,4 +1,4 @@ -import { ParsedDuration, type BushArgumentTypeCaster } from '#lib'; +import { type BushArgumentTypeCaster, type ParsedDuration } from '#lib'; export const contentWithDuration: BushArgumentTypeCaster<Promise<ParsedDuration>> = async (_, phrase) => { return client.util.parseDuration(phrase); diff --git a/src/arguments/globalUser.ts b/src/arguments/globalUser.ts index 89e8324..69d3e89 100644 --- a/src/arguments/globalUser.ts +++ b/src/arguments/globalUser.ts @@ -1,4 +1,4 @@ -import { BushUser, type BushArgumentTypeCaster } from '#lib'; +import { type BushArgumentTypeCaster, type BushUser } from '#lib'; // resolve non-cached users export const globalUser: BushArgumentTypeCaster<Promise<BushUser | null>> = async (_, phrase) => { diff --git a/src/arguments/messageLink.ts b/src/arguments/messageLink.ts index 80aacde..2a9800c 100644 --- a/src/arguments/messageLink.ts +++ b/src/arguments/messageLink.ts @@ -1,4 +1,4 @@ -import { Message } from 'discord.js'; +import { type Message } from 'discord.js'; import { type BushArgumentTypeCaster } from '../lib'; export const messageLink: BushArgumentTypeCaster<Promise<Message | null>> = async (_, phrase) => { diff --git a/src/arguments/permission.ts b/src/arguments/permission.ts index 7a43216..4ae6327 100644 --- a/src/arguments/permission.ts +++ b/src/arguments/permission.ts @@ -1,5 +1,5 @@ import { type BushArgumentTypeCaster } from '#lib'; -import { Permissions, PermissionString } from 'discord.js'; +import { Permissions, type PermissionString } from 'discord.js'; export const permission: BushArgumentTypeCaster<PermissionString | null> = (_, phrase) => { if (!phrase) return null; diff --git a/src/arguments/roleWithDuration.ts b/src/arguments/roleWithDuration.ts index b0357dd..d619b9e 100644 --- a/src/arguments/roleWithDuration.ts +++ b/src/arguments/roleWithDuration.ts @@ -1,5 +1,5 @@ import { type BushArgumentTypeCaster } from '#lib'; -import { Role } from 'discord.js'; +import { type Role } from 'discord.js'; export const roleWithDuration: BushArgumentTypeCaster<Promise<RoleWithDuration | null>> = async (message, phrase) => { // eslint-disable-next-line prefer-const |