v2.1.0 push 7

Added LanguageManager.js (yep this is for language stuff in the future)
This commit is contained in:
DJj123dj
2022-06-21 12:11:09 +02:00
parent 09f9944cf7
commit 9d19c7053b
21 changed files with 61 additions and 9 deletions
+1
View File
@@ -2,6 +2,7 @@ const discord = require("discord.js")
const bot = require("../../index")
const config = bot.config
const getoptions = require("../getoptions")
const l = bot.language
/**@returns {"DANGER"|"SUCCESS"|"PRIMARY"|"SECONDARY"} */
const getColor = (color) => {
+2
View File
@@ -1,5 +1,7 @@
const bot = require("../../index")
const config = bot.config
const l = bot.language
exports.getTicketMessage = (input) => {
var returned = config.messages.find(a => a.id == input)
if (returned){