Some debug stuff

This commit is contained in:
Christopher Cookman 2023-08-19 14:17:10 -06:00
parent 42f8c4e385
commit 91e597497a
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42
2 changed files with 11 additions and 10 deletions

View file

@ -105,15 +105,7 @@
{ {
"name": "coins", "name": "coins",
"description": "Check the coins of yourself or another user", "description": "Check the coins of yourself or another user",
"type": 1, "type": 1
"options": [
{
"name": "user",
"description": "The user to check",
"type": 6,
"required": false
}
]
}, },
{ {
"name": "ledger", "name": "ledger",
@ -123,7 +115,15 @@
{ {
"name": "slots", "name": "slots",
"description": "Play the slots (Costs 3 coins)", "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", "name": "coinflip",

View file

@ -1,4 +1,5 @@
const config = require("./config.json"); const config = require("./config.json");
if (!config.debug) config.debug = false;
const Discord = require("discord.js"); const Discord = require("discord.js");
const rest = new Discord.REST({ const rest = new Discord.REST({
version: '10' version: '10'