forked from cosmic/scythe
fix
This commit is contained in:
parent
4050ff1218
commit
7c3d7623f9
|
|
@ -2,7 +2,7 @@ services:
|
|||
server:
|
||||
image: scythe-bot
|
||||
volumes:
|
||||
- data:/app
|
||||
- data:/app/data
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue