Some debug stuff
This commit is contained in:
parent
42f8c4e385
commit
91e597497a
|
@ -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",
|
||||||
|
|
1
index.js
1
index.js
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue