Updated types

This commit is contained in:
2024-08-26 22:29:37 +02:00
parent 15cce327e3
commit 9050eff5a5
8 changed files with 36 additions and 36 deletions

View File

@@ -44,7 +44,7 @@ export default async function autoDeployCommands(fileType: FileType, client: Ext
}).sort((a, b) => a.name > b.name ? 1 : -1)
client.on("ready", async (c) => {
const guildclient = c.guilds.cache.get(env.dev.guildid!)!
const guildclient = c.guilds.cache.get(env.dev.guildid)!
const currentCommands = await guildclient.commands.fetch()
if (!currentCommands) return