From 7c3d7623f93e9914c31b9c78596c189d805af7d2 Mon Sep 17 00:00:00 2001 From: rainydevzz Date: Thu, 20 Mar 2025 14:08:49 -0700 Subject: [PATCH] fix --- compose.yml | 2 +- src/commands/uptime.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compose.yml b/compose.yml index cafc5da..1dddb1f 100644 --- a/compose.yml +++ b/compose.yml @@ -2,7 +2,7 @@ services: server: image: scythe-bot volumes: - - data:/app + - data:/app/data build: context: . dockerfile: Dockerfile diff --git a/src/commands/uptime.ts b/src/commands/uptime.ts index de19eef..fcd4e94 100644 --- a/src/commands/uptime.ts +++ b/src/commands/uptime.ts @@ -2,9 +2,9 @@ import type { CommandInteraction, TextChannel } from "discord.js"; import { Discord, Slash } from "discordx"; @Discord() -export class Uptime { +export class UptimeCmd { @Slash({ name: "uptime-setup", description: "set up uptime cmd" }) - async uptime(inter: CommandInteraction) { + async uptimeCmd(inter: CommandInteraction) { if (inter.user.id != Bun.env.OWNER) { await inter.reply("you cannot run this command :p"); return;