forked from cosmic/scythe
fix
This commit is contained in:
parent
4050ff1218
commit
7c3d7623f9
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue