feat(discord-bot): add tg command
Some checks failed
Build and Push Docker Image / typecheck (push) Failing after 13s
Build and Push Docker Image / build (push) Has been skipped

This commit is contained in:
2026-05-12 16:04:01 +02:00
parent 8629cf246b
commit 4b28b78800
2 changed files with 11 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import { iconeCommand } from "./icone";
import { gemmesCommand } from "./gemmes";
import { resultCommand } from "./result";
import { queteCommand } from "./quete";
import { tgCommand } from "./tg";
export type CommandHandler = (
message: OmitPartialGroupDMChannel<Message<boolean>>,
@@ -23,4 +24,5 @@ export const commands: Record<string, Command> = {
gemmes: gemmesCommand,
quete: queteCommand,
result: resultCommand,
tg: tgCommand,
};

View File

@@ -0,0 +1,9 @@
import { noMention } from "~/discord";
import type { Command } from "./index";
export const tgCommand: Command = {
help: "...",
handler: async (message) => {
await message.reply({ ...noMention, content: "non toi tg" });
},
};