diff --git a/commands.json b/commands.json index 0b30880..0239380 100644 --- a/commands.json +++ b/commands.json @@ -105,15 +105,7 @@ { "name": "coins", "description": "Check the coins of yourself or another user", - "type": 1, - "options": [ - { - "name": "user", - "description": "The user to check", - "type": 6, - "required": false - } - ] + "type": 1 }, { "name": "ledger", @@ -123,7 +115,15 @@ { "name": "slots", "description": "Play the slots (Costs 3 coins)", - "type": 1 + "type": 1, + "options":[ + { + "name": "rig", + "description": "DEBUG: Rig the slots to specific values", + "type": 3, + "required": true + } + ] }, { "name": "coinflip", diff --git a/index.js b/index.js index 8db0e8f..7d499e8 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,5 @@ const config = require("./config.json"); +if (!config.debug) config.debug = false; const Discord = require("discord.js"); const rest = new Discord.REST({ version: '10'