Open Ticket v4.2 🎉

This commit is contained in:
DJj123dj
2026-05-26 20:44:29 +02:00
parent e6ab09dbbd
commit 4606ddac3c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"dependencies": { "dependencies": {
"@discordjs/rest": "^2.6.1", "@discordjs/rest": "^2.6.1",
"@open-discord-bots/framework": "^0.5.4", "@open-discord-bots/framework": "^1.0.0",
"@types/node": "^22.5.0", "@types/node": "^22.5.0",
"@types/terminal-kit": "^2.5.7", "@types/terminal-kit": "^2.5.7",
"ansis": "^4.2.0", "ansis": "^4.2.0",
+2 -2
View File
@@ -98,11 +98,11 @@ export async function renderQuickSetup(backFn:() => api.ODPromiseVoid){
function quickSetupRequiresReset(): boolean { function quickSetupRequiresReset(): boolean {
const generalConfig = opendiscord.configs.get("opendiscord:general") const generalConfig = opendiscord.configs.get("opendiscord:general")
if (generalConfig.data.token != "your bot token here! (or leave empty when using 'tokenFromENV')") return true if (generalConfig.data.token != "INSERT_BOT_TOKEN") return true
if (generalConfig.data.mainColor != "#f8ba00") return true if (generalConfig.data.mainColor != "#f8ba00") return true
if (generalConfig.data.language != "english") return true if (generalConfig.data.language != "english") return true
if (generalConfig.data.prefix != "!ticket ") return true if (generalConfig.data.prefix != "!ticket ") return true
if (generalConfig.data.serverId != "discord server id") return true if (generalConfig.data.serverId != "DISCORD_SERVER_ID") return true
return false return false
} }