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
mmacierzanka e5c203df09 JSDoc final and tweaks
removed default export
2021-11-17 17:11:43 +01:00

148 lines
4.4 KiB
TypeScript

import { Bot } from "./src/structures/Bot.js";
import { InitOptions } from "./src/structures/types/Bot.js";
import {
ChatCommandInit,
ContextMenuCommandInit,
SubCommandInit,
SubCommandGroupInit,
APICommandInit,
FunctionCommandInit,
GuildCommandInit,
PermissionCommandInit,
PermissionGuildCommandInit,
} from "./src/commands/types/InitOptions.js";
import { HelpMessageParams } from "./src/commands/types/HelpMessage.js";
import {
ParameterResolvable,
ParameterType,
ParameterSchema,
ObjectIdType,
TargetType,
InputParameterValue,
ObjectIdReturnType,
TargetIdReturnType,
} from "./src/structures/types/Parameter.js";
import { MessageType, SystemMessageAppearance, SystemMessageData } from "./src/structures/types/SystemMessage.js";
import { ObjectID, TargetID, Parameter, InputParameter } from "./src/structures/parameter.js";
import { PermissionsError, ParameterTypeError, MissingParameterError, OperationSuccess } from "./src/errors.js";
import {
ChildCommandType,
Commands,
ChildCommands,
CommandInit,
ChildCommandInit,
CommandType,
CommandFunction,
ContextType,
ChildCommandResolvable,
BaseCommands,
CommandFunctionReturnTypes,
BaseCommandType,
} from "./src/commands/types/commands.js";
import { CommandPermissionsInit, PermissionCheckTypes, PermissionFunction } from "./src/commands/types/permissions.js";
import {
APICommandObject,
APICommandType,
ChatCommandObject,
ChatCommandOptionObject,
ChatCommandOptionType,
CommandPermission,
CommandPermissionType,
ContextMenuCommandObject,
RegisteredCommandObject,
SubCommandGroupObject,
TextCommandOptionChoiceObject,
} from "./src/structures/types/api.js";
import { InputManager } from "./src/structures/InputManager.js";
import { SubCommand } from "./src/commands/SubCommand.js";
import { SubCommandGroup } from "./src/commands/SubCommandGroup.js";
import { ChatCommand } from "./src/commands/ChatCommand.js";
import { ContextMenuCommand } from "./src/commands/ContextMenuCommand.js";
import { FunctionCommand } from "./src/commands/base/FunctionCommand.js";
import { Command } from "./src/commands/base/Command.js";
import { CommandManager } from "./src/structures/CommandManager.js";
import { SystemMessageManager } from "./src/structures/SystemMessage.js";
import { CommandPermissions } from "./src/structures/CommandPermissions.js";
import { HelpMessage } from "./src/commands/Help.js";
import { PrefixManager } from "./src/structures/PrefixManager.js";
import { GuildCommand } from "./src/commands/base/GuildCommand.js";
import { PermissionCommand } from "./src/commands/base/PermissionCommand.js";
import { PermissionGuildCommand } from "./src/commands/base/PermissionGuildCommand.js";
import { ScopeResolvable } from "./src/structures/types/PrefixManager.js";
export {
Bot,
InitOptions,
ChatCommandInit,
ContextMenuCommandInit,
SubCommandGroupInit,
SubCommandInit,
CommandPermissionsInit,
InputManager,
HelpMessageParams,
ParameterResolvable,
ParameterType,
ObjectID,
TargetID,
SystemMessageAppearance,
SystemMessageData,
ParameterSchema,
Parameter,
PermissionsError,
ParameterTypeError,
MissingParameterError,
OperationSuccess,
APICommandType,
CommandType,
ChildCommandType,
Commands,
ChildCommands,
CommandInit,
ChildCommandInit,
SubCommand,
SubCommandGroup,
ChatCommand,
ContextMenuCommand,
ObjectIdType,
InputParameter,
FunctionCommand,
Command,
TargetType,
CommandManager,
CommandFunction,
PermissionCheckTypes,
PermissionFunction,
ContextType,
InputParameterValue,
ObjectIdReturnType,
TargetIdReturnType,
SystemMessageManager,
ChildCommandResolvable,
CommandPermissions,
RegisteredCommandObject,
HelpMessage,
PrefixManager,
BaseCommands,
ChatCommandObject,
APICommandObject,
ContextMenuCommandObject,
SubCommandGroupObject,
CommandFunctionReturnTypes,
BaseCommandType,
APICommandInit,
CommandPermission,
FunctionCommandInit,
MessageType,
GuildCommand,
PermissionCommand,
PermissionGuildCommand,
ChatCommandOptionObject,
CommandPermissionType,
ScopeResolvable,
TextCommandOptionChoiceObject,
ChatCommandOptionType,
GuildCommandInit,
PermissionCommandInit,
PermissionGuildCommandInit,
};