diff options
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>; |