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;