Moved to using an object for execute args

This commit is contained in:
2024-03-12 14:51:25 +01:00
parent 1f2a9b9d18
commit 36c2cc6d81
62 changed files with 68 additions and 67 deletions

View File

@@ -17,7 +17,7 @@ export = {
.setDescription("Get information about the bot")
.setDMPermission(false),
async execute(interaction, client) {
async execute({ interaction, client }) {
const { default: prettyMs } = await import("pretty-ms")
const castedDeps = dependencies as { [key: string]: string }
const castedDevDeps = devDependencies as { [key: string]: string }