discordx
Advanced tools
Comparing version 11.9.4 to 11.10.0
# discordx | ||
## 11.10.0 | ||
### Minor Changes | ||
- removed discordx plugin feature | ||
## 11.9.4 | ||
@@ -4,0 +10,0 @@ |
@@ -62,3 +62,2 @@ import { ApplicationCommand, Message, Client as Client$1, Snowflake, CommandInteraction, AutocompleteInteraction, Interaction, ButtonInteraction, ModalSubmitInteraction, AnySelectMenuInteraction, ContextMenuCommandInteraction, MessageReaction, PartialMessageReaction, User, PartialUser, PermissionResolvable, LocalizationMap, ApplicationCommandType, ChatInputCommandInteraction, ChannelType, ApplicationCommandOptionType, ApplicationCommandOptionData, ClientOptions as ClientOptions$1, ClientEvents, RestEvents, ThreadChannel, GuildChannel, GuildMember, Role } from 'discord.js'; | ||
private _isBuilt; | ||
private _isPluginsLoaded; | ||
private _prefix; | ||
@@ -69,3 +68,2 @@ private _simpleCommandConfig?; | ||
private _botGuilds; | ||
private _plugins; | ||
private _guards; | ||
@@ -277,6 +275,2 @@ private logger; | ||
/** | ||
* Load plugins | ||
*/ | ||
initPlugins(): Promise<void>; | ||
/** | ||
* Bind discordx events to client | ||
@@ -525,6 +519,2 @@ */ | ||
/** | ||
* Set of plugins | ||
*/ | ||
plugins?: Plugin[]; | ||
/** | ||
* Do not log anything | ||
@@ -1455,10 +1445,2 @@ */ | ||
interface PluginConfiguration { | ||
metadata: MetadataStorage; | ||
} | ||
declare abstract class Plugin { | ||
constructor(options: PluginConfiguration); | ||
abstract init(client: Client): Awaitable<void>; | ||
} | ||
/** | ||
@@ -1498,2 +1480,2 @@ * Recursively match field | ||
export { type ApplicationCommandDataEx, ApplicationCommandMixin, type ApplicationCommandOptionChoiceDataEx, type ApplicationCommandOptions, type ArgSplitter, type ArgsOf, type Awaitable, Bot, ButtonComponent, Client, type ClientOptions, type ComponentOptions, ComponentType, ContextMenu, DApplicationCommand, DApplicationCommandGroup, DApplicationCommandOption, DApplicationCommandOptionChoice, DComponent, DDiscord, DGuard, DOn, DReaction, DSimpleCommand, DSimpleCommandOption, Discord, type EventListenerDetail, type EventOptions, type ForbidCharacter, Guard, type GuardFunction, Guild, type IGuild, type ILogger, type IPrefix, type IPrefixResolver, type ISimpleCommandByName, type ITriggerEventData, type InitCommandOptions, MetadataStorage, ModalComponent, type Next, type NotEmpty, type NotEmptyCheck, On, Once, Plugin, type PluginConfiguration, Reaction, type ReactionOptions, RecursivelyMatchField, type RestArgsOf, type RestEventOptions, SelectMenuComponent, SimpleCommand, type SimpleCommandConfig, SimpleCommandMessage, SimpleCommandOption, type SimpleCommandOptionOptions, SimpleCommandOptionType, type SimpleCommandOptions, SimpleCommandParseType, type SimpleOptionType, Slash, type SlashAutoCompleteOption, SlashChoice, type SlashChoiceType, SlashGroup, type SlashGroupBase, type SlashGroupOptions, type SlashGroupRoot, type SlashGroupSubRoot, SlashNameValidator, SlashOption, type SlashOptionAutoCompleteOptions, type SlashOptionBaseOptions, type SlashOptionChannelOptions, type SlashOptionNumberOptions, type SlashOptionOptions, type SlashOptionStringOptions, type SpecialCharacters, SpecialCharactersList, type TransformerFunction, type TruncateTo32, type VName, type VerifyName, type WhitelistWords, isApplicationCommandEqual, resolveIGuilds }; | ||
export { type ApplicationCommandDataEx, ApplicationCommandMixin, type ApplicationCommandOptionChoiceDataEx, type ApplicationCommandOptions, type ArgSplitter, type ArgsOf, type Awaitable, Bot, ButtonComponent, Client, type ClientOptions, type ComponentOptions, ComponentType, ContextMenu, DApplicationCommand, DApplicationCommandGroup, DApplicationCommandOption, DApplicationCommandOptionChoice, DComponent, DDiscord, DGuard, DOn, DReaction, DSimpleCommand, DSimpleCommandOption, Discord, type EventListenerDetail, type EventOptions, type ForbidCharacter, Guard, type GuardFunction, Guild, type IGuild, type ILogger, type IPrefix, type IPrefixResolver, type ISimpleCommandByName, type ITriggerEventData, type InitCommandOptions, MetadataStorage, ModalComponent, type Next, type NotEmpty, type NotEmptyCheck, On, Once, Reaction, type ReactionOptions, RecursivelyMatchField, type RestArgsOf, type RestEventOptions, SelectMenuComponent, SimpleCommand, type SimpleCommandConfig, SimpleCommandMessage, SimpleCommandOption, type SimpleCommandOptionOptions, SimpleCommandOptionType, type SimpleCommandOptions, SimpleCommandParseType, type SimpleOptionType, Slash, type SlashAutoCompleteOption, SlashChoice, type SlashChoiceType, SlashGroup, type SlashGroupBase, type SlashGroupOptions, type SlashGroupRoot, type SlashGroupSubRoot, SlashNameValidator, SlashOption, type SlashOptionAutoCompleteOptions, type SlashOptionBaseOptions, type SlashOptionChannelOptions, type SlashOptionNumberOptions, type SlashOptionOptions, type SlashOptionStringOptions, type SpecialCharacters, SpecialCharactersList, type TransformerFunction, type TruncateTo32, type VName, type VerifyName, type WhitelistWords, isApplicationCommandEqual, resolveIGuilds }; |
{ | ||
"name": "discordx", | ||
"version": "11.9.4", | ||
"version": "11.10.0", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Create a discord bot with TypeScript and Decorators!", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
313543
7664