created devConfig.json
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# WARNING: this is a pre-version
|
||||
The version above is unstable so if you find bugs, please report them in the discord server
|
||||
|
||||
[click here for a stable version](https://www.github.com/DJj123dj/open-ticket/releases/tab/v1.3.2)
|
||||
[click here for a stable version](https://www.github.com/DJj123dj/open-ticket/releases/tab/v1.3.2a)
|
||||
|
||||
|
||||
# open-ticket
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
const discord = require('discord.js')
|
||||
const bot = require('../index')
|
||||
const client = bot.client
|
||||
const config = require("../config.json")
|
||||
const config = bot.config
|
||||
|
||||
module.exports = () => {
|
||||
const helpEmbed = new discord.MessageEmbed()
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
const discord = require('discord.js')
|
||||
const bot = require('../index')
|
||||
const client = bot.client
|
||||
const config = require("../config.json")
|
||||
const config = bot.config
|
||||
|
||||
/** =============================
|
||||
** NOT READY YET
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const discord = require('discord.js')
|
||||
const bot = require('../index')
|
||||
const client = bot.client
|
||||
const config = require("../config.json")
|
||||
const config = bot.config
|
||||
|
||||
|
||||
module.exports = () => {
|
||||
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
const config = require("../config.json")
|
||||
const bot = require("../index")
|
||||
const config = bot.config
|
||||
|
||||
/**
|
||||
* @param {Number} index
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
const discord = require("discord.js")
|
||||
const bot = require("../../index")
|
||||
const client = require("../../index").client
|
||||
const config = require("../../config.json")
|
||||
const config = bot.config
|
||||
const getoptions = require("../getoptions")
|
||||
|
||||
module.exports = async () => {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
const discord = require("discord.js")
|
||||
const bot = require("../../index")
|
||||
const client = require("../../index").client
|
||||
const config = require("../../config.json")
|
||||
const config = bot.config
|
||||
const getoptions = require("../getoptions")
|
||||
|
||||
module.exports = async () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const discord = require('discord.js')
|
||||
const bot = require('../index')
|
||||
const client = bot.client
|
||||
const config = require("../config.json")
|
||||
const config = bot.config
|
||||
|
||||
const ticketStorage = bot.TicketStorage
|
||||
const userTicketStorage = bot.userTicketStorage
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const discord = require('discord.js')
|
||||
const bot = require('../index')
|
||||
const client = bot.client
|
||||
const config = require("../config.json")
|
||||
const config = bot.config
|
||||
const getOptions = require("./getoptions")
|
||||
const getbyId = getOptions.getOptionsById
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const discord = require('discord.js')
|
||||
const bot = require('../index')
|
||||
const client = bot.client
|
||||
const config = require("../config.json")
|
||||
const config = bot.config
|
||||
|
||||
const getconfigoptions = require("./getoptions")
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
const discord = require('discord.js')
|
||||
const bot = require('../index')
|
||||
const client = bot.client
|
||||
const config = require("../config.json")
|
||||
const config = bot.config
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
const config = require("../../config.json")
|
||||
const bot = require("../../index")
|
||||
const config = bot.config
|
||||
exports.getTicketMessage = (input) => {
|
||||
var returned = config.messages.find(a => a.id == input)
|
||||
if (returned){
|
||||
|
||||
@@ -9,7 +9,7 @@ client.setMaxListeners(20)
|
||||
const isDev = true
|
||||
//!!!!!!!!!!!
|
||||
|
||||
if (isDev){const config = require('./devConfig.json')}else{const config = require('./config.json')}
|
||||
if (isDev){var config = require('./devConfig.json')}else{var config = require('./config.json')}
|
||||
exports.config = config
|
||||
|
||||
client.on('ready',async () => {
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
779742674932072469
|
||||
Reference in New Issue
Block a user