diff options
author | Vendicated <vendicated@riseup.net> | 2022-10-22 18:18:41 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-10-22 18:18:41 +0200 |
commit | 61fd38d6d9170a9583c62366a2d4afa40507ce01 (patch) | |
tree | 50132ae08fb39b453bca0dbeeae311e12b2528ed /src/api/Commands | |
parent | a7dbd73547104540218d4699fcf643fca727d2fc (diff) | |
download | Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.tar.gz Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.tar.bz2 Vencord-61fd38d6d9170a9583c62366a2d4afa40507ce01.zip |
style: Sort imports
Diffstat (limited to 'src/api/Commands')
-rw-r--r-- | src/api/Commands/commandHelpers.ts | 5 | ||||
-rw-r--r-- | src/api/Commands/index.ts | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/api/Commands/commandHelpers.ts b/src/api/Commands/commandHelpers.ts index d8b27df..90b89ed 100644 --- a/src/api/Commands/commandHelpers.ts +++ b/src/api/Commands/commandHelpers.ts @@ -16,10 +16,11 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ -import { filters, waitFor } from "../../webpack"; -import type { PartialDeep } from "type-fest"; import { Message } from "discord-types/general"; +import type { PartialDeep } from "type-fest"; + import { lazyWebpack, mergeDefaults } from "../../utils/misc"; +import { filters, waitFor } from "../../webpack"; import { Argument } from "./types"; const createBotMessage = lazyWebpack(filters.byCode('username:"Clyde"')); diff --git a/src/api/Commands/index.ts b/src/api/Commands/index.ts index 8384b4a..c7034ab 100644 --- a/src/api/Commands/index.ts +++ b/src/api/Commands/index.ts @@ -18,10 +18,10 @@ import { makeCodeblock } from "../../utils/misc"; import { generateId, sendBotMessage } from "./commandHelpers"; -import { ApplicationCommandInputType, ApplicationCommandType, Argument, Command, CommandContext, Option, CommandReturnValue } from "./types"; +import { ApplicationCommandInputType, ApplicationCommandType, Argument, Command, CommandContext, CommandReturnValue,Option } from "./types"; -export * from "./types"; export * from "./commandHelpers"; +export * from "./types"; export let BUILT_IN: Command[]; export const commands = {} as Record<string, Command>; |