created devConfig.json

This commit is contained in:
DJj123dj
2022-05-02 11:20:04 +02:00
parent 943e7b6fef
commit 4e73626072
14 changed files with 18 additions and 13 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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 -1
View File
@@ -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
View File
@@ -1,4 +1,5 @@
const config = require("../config.json")
const bot = require("../index")
const config = bot.config
/**
* @param {Number} index
+2 -1
View File
@@ -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 () => {
+2 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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
View File
@@ -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
/**
*
+2 -1
View File
@@ -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){
+1 -1
View File
@@ -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 () => {
+1
View File
@@ -0,0 +1 @@
779742674932072469