catto.js 0.1.8 → 0.1.9

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/Bot.js +1 -1
  2. package/package.json +1 -1
package/Bot.js CHANGED
@@ -151,7 +151,7 @@ module.exports = class extends EventEmitter {
151
151
  var button = this.buttons.get(interaction.customId);
152
152
  if (button) {
153
153
  try {
154
- button.execute({
154
+ button({
155
155
  Discord,
156
156
  User,
157
157
  MessageBuilder,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catto.js",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Universal module for everything.",
5
5
  "main": "index.js",
6
6
  "scripts": {