diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-29 16:05:18 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-29 16:05:18 -0500 |
commit | f9cf43fc47be2d497d92d728ea892246df96d736 (patch) | |
tree | b5bf3d9641d5363fa581fc5b2464a3aeec53f5d0 /src/arguments | |
parent | 0a709c1ef397891c8e17cd57c0e7d3adbc7441ad (diff) | |
download | tanzanite-f9cf43fc47be2d497d92d728ea892246df96d736.tar.gz tanzanite-f9cf43fc47be2d497d92d728ea892246df96d736.tar.bz2 tanzanite-f9cf43fc47be2d497d92d728ea892246df96d736.zip |
import type
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 |