mirror of
https://github.com/xHyroM/roles-bot.git
synced 2024-11-22 00:11:06 +01:00
feat(bot): add info command
This commit is contained in:
parent
cd9a5fdd90
commit
ad9b4cf085
2 changed files with 17 additions and 0 deletions
16
packages/bot/src/commands/info.ts
Normal file
16
packages/bot/src/commands/info.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { InteractionResponseType } from "discord-api-types/v10";
|
||||
import { Command } from "../structs/Command";
|
||||
|
||||
new Command({
|
||||
name: "info",
|
||||
acknowledge: false,
|
||||
run: (ctx) => {
|
||||
return ctx.respond({
|
||||
type: InteractionResponseType.ChannelMessageWithSource,
|
||||
data: {
|
||||
content:
|
||||
"[Website](https://roles-bot.xhyrom.dev/) | [Discord](https://discord.gg/kFPKmEKeMS)",
|
||||
},
|
||||
});
|
||||
},
|
||||
});
|
|
@ -1,4 +1,5 @@
|
|||
import "./commands/setup";
|
||||
import "./commands/info";
|
||||
import "./components/setup";
|
||||
import "./components/select";
|
||||
import "./modals/setup";
|
||||
|
|
Loading…
Reference in a new issue