This repository has been archived on 2025-11-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
CommandBot/index.ts
T

40 lines
1.4 KiB
TypeScript

import { Bot } from "./src/structures/Bot.js";
import { TextCommand } from "./src/structures/TextCommand.js";
import { MessageCommand } from "./src/structures/MessageCommand.js";
import { UserCommand } from "./src/structures/UserCommand.js";
import { InitOptions } from "./src/types/Bot.js";
import { TextCommandInit, CommandMessageStructure } from "./src/types/TextCommand.js";
import { HelpMessageParams } from "./src/types/HelpMessage.js";
import { ParameterResolvable, ParameterType, ParameterSchema } from "./src/types/Parameter.js";
import { SystemMessageAppearance, SystemMessageData } from "./src/types/SystemMessage.js";
import { ObjectID, InputParameter, StringParameter, BooleanParameter, NumberParameter, ObjectParameter, Parameter } from "./src/structures/Parameter.js";
import { PermissionsError, ParameterTypeError, MissingParameterError, OperationSuccess } from "./src/errors.js";
export default Bot;
export {
Bot,
TextCommand,
MessageCommand,
UserCommand,
InitOptions,
TextCommandInit,
CommandMessageStructure,
HelpMessageParams,
ParameterResolvable,
ParameterType,
ObjectID,
SystemMessageAppearance,
SystemMessageData,
ParameterSchema,
Parameter,
InputParameter,
StringParameter,
BooleanParameter,
NumberParameter,
ObjectParameter,
PermissionsError,
ParameterTypeError,
MissingParameterError,
OperationSuccess,
};