Open Ticket v4.2 🎉
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@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/terminal-kit": "^2.5.7",
|
||||
"ansis": "^4.2.0",
|
||||
|
||||
@@ -98,11 +98,11 @@ export async function renderQuickSetup(backFn:() => api.ODPromiseVoid){
|
||||
|
||||
function quickSetupRequiresReset(): boolean {
|
||||
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.language != "english") 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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user