Skip to content

Commit

Permalink
fix: add ping command
Browse files Browse the repository at this point in the history
  • Loading branch information
mezotv authored and thewilloftheshadow committed Oct 19, 2024
1 parent 2ee1ada commit 39824c6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions apps/rocko/src/commands/permission.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Command, PermissionFlagsBits, type CommandInteraction } from "@buape/carbon"

export default class PermissionCommand extends Command {
name = "permission"
description = "A simple command to check permission"
permissions = PermissionFlagsBits.Administrator
defer = false

async run(interaction: CommandInteraction) {
return interaction.reply({
content: "You are an admin!"
})
}
}

0 comments on commit 39824c6

Please sign in to comment.