Added 3th & 4th question to Quick Setup CLI

This commit is contained in:
DJj123dj
2025-04-20 12:08:52 +02:00
parent 2d1724893e
commit fd739054fd
3 changed files with 38 additions and 3 deletions
+1 -1
View File
@@ -373,7 +373,7 @@ const main = async () => {
const client = opendiscord.client
//check if all servers are valid
const botServers = client.getGuilds()
const botServers = await client.getGuilds()
const generalConfig = opendiscord.configs.get("opendiscord:general")
const serverId = generalConfig.data.serverId ? generalConfig.data.serverId : ""
if (!serverId) throw new api.ODSystemError("Server Id Missing!")