xernerx 2.0.5 → 2.0.6

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.
@@ -1,5 +1,5 @@
1
1
  const { s } = require('@sapphire/shapeshift');
2
- const Builders = require('@discordjs/builders');
2
+ const Discord = require('discord.js');
3
3
 
4
4
  /**
5
5
  * @param {String} name - The name of the context menu;
@@ -22,7 +22,7 @@ class ContextMenuCommand {
22
22
  clientPermissions: s.array(s.string).optional
23
23
  }).parse(options)
24
24
 
25
- this.data = new Builders.ContextMenuCommandBuilder()
25
+ this.data = new Discord.ContextMenuCommandBuilder()
26
26
  .setName(options.name)
27
27
  .setType(this.types(options.type))
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xernerx",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "A bot framework for discord.js. [BETA]",
5
5
  "main": "main.js",
6
6
  "scripts": {