wv3-discord.js 1.0.2 → 1.0.4

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.
Files changed (2) hide show
  1. package/index.js +28 -27
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -23,35 +23,36 @@ const {
23
23
  ChatInputCommandInteraction,
24
24
  CommandInteractionOptionResolver
25
25
  } = require("./src/structures/Interaction");
26
- new WV3Client()
26
+ const tokengen = require("./scripts/wv3-tools")
27
27
  module.exports = {
28
- discord: {
29
- WV3Client,
30
- createClient,
31
- REST,
32
- Routes,
33
- Collection,
34
- GatewayIntentBits,
35
- Events,
36
- InteractionType,
37
- ApplicationCommandOptionType,
38
- MessageFlags,
39
- EmbedBuilder,
40
- AttachmentBuilder,
41
- SlashCommandBuilder,
42
- SlashCommandOptionBuilder,
43
- SlashCommandSubcommandBuilder,
44
- User,
45
- ClientUser,
46
- Message,
47
- TextChannel,
48
- ChatInputCommandInteraction,
49
- CommandInteractionOptionResolver,
50
- DiscordHTTPError
28
+ WV3: class {
29
+ REST = REST
30
+ Routes = Routes
31
+ Collection = Collection
32
+ GatewayIntentBits = GatewayIntentBits
33
+ Events = Events
34
+ InteractionType = InteractionType
35
+ ApplicationCommandOptionType = ApplicationCommandOptionType
36
+ MessageFlags = MessageFlags
37
+ EmbedBuilder = EmbedBuilder
38
+ AttachmentBuilder = AttachmentBuilder
39
+ SlashCommandBuilder = SlashCommandBuilder
40
+ SlashCommandOptionBuilder = SlashCommandOptionBuilder
41
+ SlashCommandSubcommandBuilder = SlashCommandSubcommandBuilder
42
+ User = User
43
+ ClientUser = ClientUser
44
+ Message = Message
45
+ TextChannel = TextChannel
46
+ ChatInputCommandInteraction = ChatInputCommandInteraction
47
+ CommandInteractionOptionResolver = CommandInteractionOptionResolver
48
+ DiscordHTTPError = DiscordHTTPError
49
+ Client = Client
50
+ WV3Client = WV3Client
51
+ createClient = createClient
51
52
  },
52
- Tools: {
53
- Gen: {
54
- Client: require('./scripts/wv3-tools'),
53
+ WV3Generators: {
54
+ tokens: {
55
+ Client: tokengen,
55
56
  }
56
57
  },
57
58
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wv3-discord.js",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "A lightweight Discord API client with a discord.js-inspired API.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",