diff --git a/packages/bot/src/commands/info.ts b/packages/bot/src/commands/info.ts new file mode 100644 index 0000000..6a03f37 --- /dev/null +++ b/packages/bot/src/commands/info.ts @@ -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)", + }, + }); + }, +}); diff --git a/packages/bot/src/index.ts b/packages/bot/src/index.ts index 9e0d658..fca84c6 100644 --- a/packages/bot/src/index.ts +++ b/packages/bot/src/index.ts @@ -1,4 +1,5 @@ import "./commands/setup"; +import "./commands/info"; import "./components/setup"; import "./components/select"; import "./modals/setup";