@guardbot/framework 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as discord_js from 'discord.js';
2
2
  import { Client, PermissionResolvable, InteractionContextType, ApplicationIntegrationType, LocalizationMap, ApplicationCommandOptionData, ChatInputCommandInteraction, AutocompleteInteraction, Message, ContextMenuCommandInteraction, CommandInteraction, PermissionsString, Interaction, Collection, ClientEvents, ModalSubmitInteraction, ClientOptions, MessageCollectorOptions, InteractionCollectorOptions } from 'discord.js';
3
- export { SlashCommandAttachmentOption as AttachmentOption, SlashCommandBooleanOption as BooleanOption, SlashCommandChannelOption as ChannelOption, SlashCommandIntegerOption as IntegerOption, SlashCommandMentionableOption as MentionableOption, SlashCommandNumberOption as NumberOption, SlashCommandRoleOption as RoleOption, SlashCommandOptionsOnlyBuilder as SlashCommandOptionsBuilder, SlashCommandStringOption as StringOption, SlashCommandSubcommandBuilder as SubcommandBuilder, SlashCommandSubcommandGroupBuilder as SubcommandGroupBuilder } from 'discord.js';
3
+ export { SlashCommandAttachmentOption as AttachmentOption, SlashCommandBooleanOption as BooleanOption, SlashCommandChannelOption as ChannelOption, SlashCommandIntegerOption as IntegerOption, SlashCommandMentionableOption as MentionableOption, SlashCommandNumberOption as NumberOption, SlashCommandRoleOption as RoleOption, SlashCommandStringOption as StringOption, SlashCommandSubcommandBuilder as SubcommandBuilder, SlashCommandSubcommandGroupBuilder as SubcommandGroupBuilder, SlashCommandUserOption as UserOption } from 'discord.js';
4
4
  import EventEmitter from 'events';
5
5
 
6
6
  declare class FrameworkClient<Ready extends boolean = boolean> extends Client<Ready> {
package/build/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as discord_js from 'discord.js';
2
2
  import { Client, PermissionResolvable, InteractionContextType, ApplicationIntegrationType, LocalizationMap, ApplicationCommandOptionData, ChatInputCommandInteraction, AutocompleteInteraction, Message, ContextMenuCommandInteraction, CommandInteraction, PermissionsString, Interaction, Collection, ClientEvents, ModalSubmitInteraction, ClientOptions, MessageCollectorOptions, InteractionCollectorOptions } from 'discord.js';
3
- export { SlashCommandAttachmentOption as AttachmentOption, SlashCommandBooleanOption as BooleanOption, SlashCommandChannelOption as ChannelOption, SlashCommandIntegerOption as IntegerOption, SlashCommandMentionableOption as MentionableOption, SlashCommandNumberOption as NumberOption, SlashCommandRoleOption as RoleOption, SlashCommandOptionsOnlyBuilder as SlashCommandOptionsBuilder, SlashCommandStringOption as StringOption, SlashCommandSubcommandBuilder as SubcommandBuilder, SlashCommandSubcommandGroupBuilder as SubcommandGroupBuilder } from 'discord.js';
3
+ export { SlashCommandAttachmentOption as AttachmentOption, SlashCommandBooleanOption as BooleanOption, SlashCommandChannelOption as ChannelOption, SlashCommandIntegerOption as IntegerOption, SlashCommandMentionableOption as MentionableOption, SlashCommandNumberOption as NumberOption, SlashCommandRoleOption as RoleOption, SlashCommandStringOption as StringOption, SlashCommandSubcommandBuilder as SubcommandBuilder, SlashCommandSubcommandGroupBuilder as SubcommandGroupBuilder, SlashCommandUserOption as UserOption } from 'discord.js';
4
4
  import EventEmitter from 'events';
5
5
 
6
6
  declare class FrameworkClient<Ready extends boolean = boolean> extends Client<Ready> {
package/build/index.js CHANGED
@@ -43,10 +43,10 @@ __export(index_exports, {
43
43
  NumberOption: () => import_discord7.SlashCommandNumberOption,
44
44
  RoleOption: () => import_discord7.SlashCommandRoleOption,
45
45
  SlashCommand: () => SlashCommand,
46
- SlashCommandOptionsBuilder: () => import_discord7.SlashCommandOptionsOnlyBuilder,
47
46
  StringOption: () => import_discord7.SlashCommandStringOption,
48
47
  SubcommandBuilder: () => import_discord7.SlashCommandSubcommandBuilder,
49
- SubcommandGroupBuilder: () => import_discord7.SlashCommandSubcommandGroupBuilder
48
+ SubcommandGroupBuilder: () => import_discord7.SlashCommandSubcommandGroupBuilder,
49
+ UserOption: () => import_discord7.SlashCommandUserOption
50
50
  });
51
51
  module.exports = __toCommonJS(index_exports);
52
52
 
@@ -692,8 +692,8 @@ var import_discord7 = require("discord.js");
692
692
  NumberOption,
693
693
  RoleOption,
694
694
  SlashCommand,
695
- SlashCommandOptionsBuilder,
696
695
  StringOption,
697
696
  SubcommandBuilder,
698
- SubcommandGroupBuilder
697
+ SubcommandGroupBuilder,
698
+ UserOption
699
699
  });
package/build/index.mjs CHANGED
@@ -640,9 +640,9 @@ import {
640
640
  SlashCommandNumberOption,
641
641
  SlashCommandRoleOption,
642
642
  SlashCommandStringOption,
643
+ SlashCommandUserOption,
643
644
  SlashCommandSubcommandBuilder,
644
- SlashCommandSubcommandGroupBuilder,
645
- SlashCommandOptionsOnlyBuilder
645
+ SlashCommandSubcommandGroupBuilder
646
646
  } from "discord.js";
647
647
  export {
648
648
  SlashCommandAttachmentOption as AttachmentOption,
@@ -658,8 +658,8 @@ export {
658
658
  SlashCommandNumberOption as NumberOption,
659
659
  SlashCommandRoleOption as RoleOption,
660
660
  SlashCommand,
661
- SlashCommandOptionsOnlyBuilder as SlashCommandOptionsBuilder,
662
661
  SlashCommandStringOption as StringOption,
663
662
  SlashCommandSubcommandBuilder as SubcommandBuilder,
664
- SlashCommandSubcommandGroupBuilder as SubcommandGroupBuilder
663
+ SlashCommandSubcommandGroupBuilder as SubcommandGroupBuilder,
664
+ SlashCommandUserOption as UserOption
665
665
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guardbot/framework",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "A simple framework made for building discord bots with discord.js.",
5
5
  "main": "./build/index.js",
6
6
  "module": "./build/index.mjs",