forked from cosmic/scythe
1
0
Fork 0
This commit is contained in:
rainydevzz 2025-03-20 14:08:49 -07:00
parent 4050ff1218
commit 7c3d7623f9
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ services:
server: server:
image: scythe-bot image: scythe-bot
volumes: volumes:
- data:/app - data:/app/data
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile

View File

@ -2,9 +2,9 @@ import type { CommandInteraction, TextChannel } from "discord.js";
import { Discord, Slash } from "discordx"; import { Discord, Slash } from "discordx";
@Discord() @Discord()
export class Uptime { export class UptimeCmd {
@Slash({ name: "uptime-setup", description: "set up uptime cmd" }) @Slash({ name: "uptime-setup", description: "set up uptime cmd" })
async uptime(inter: CommandInteraction) { async uptimeCmd(inter: CommandInteraction) {
if (inter.user.id != Bun.env.OWNER) { if (inter.user.id != Bun.env.OWNER) {
await inter.reply("you cannot run this command :p"); await inter.reply("you cannot run this command :p");
return; return;