feat(bot): add info command

This commit is contained in:
xHyroM 2023-04-09 17:02:15 +02:00
parent cd9a5fdd90
commit ad9b4cf085
No known key found for this signature in database
GPG key ID: BE0423F386C436AA
2 changed files with 17 additions and 0 deletions

View 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)",
},
});
},
});

View file

@ -1,4 +1,5 @@
import "./commands/setup"; import "./commands/setup";
import "./commands/info";
import "./components/setup"; import "./components/setup";
import "./components/select"; import "./components/select";
import "./modals/setup"; import "./modals/setup";