More small tweaks

This commit is contained in:
2024-10-20 10:25:48 +02:00
parent b38d14c366
commit a5489eedee
3 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ export default async function autoDeployCommands(fileType: FileType, client: Ext
client.on("ready", async (c) => {
const guildclient = c.guilds.cache.get(env.dev.guildid)!
const currentCommands = await guildclient.commands.fetch({})
const currentCommands = await guildclient.commands.fetch()
if (!currentCommands) return
const currentCommandsData = currentCommands.map(command => {