Files
flint/src/commands/goodbye.ts
T
Puechberty Arthur 0f82c7e287 feat: add utility commands for member messages and presence management
- Implement `goodbye` command to configure goodbye messages.
- Implement `help` command to provide a global help embed with command details.
- Implement `kiss` command to send a kiss message to a mentioned user.
- Create `memberMessagePanel` for managing welcome and goodbye messages.
- Implement `ping` command to check bot latency.
- Implement `presence` command to manage bot presence settings.
- Implement `welcome` command to configure welcome messages.
2026-04-12 23:08:03 +02:00

27 lines
772 B
TypeScript

/**
* Commande `goodbye` (utility)
*
* Wrapper léger qui utilise la factory `createMemberMessageExecute` pour
* afficher un panneau de configuration des messages d'au revoir.
*/
import { PermissionFlagsBits } from "discord.js";
import { defineCommand } from "../framework/commands/defineCommand.js";
import { createMemberMessageExecute } from "./memberMessagePanel.js";
/** Commande `goodbye` — ouvre le panneau de configuration des messages 'goodbye'. */
export const goodbyeCommand = defineCommand({
meta: {
name: "goodbye",
category: "utility",
},
permissions: [PermissionFlagsBits.ManageGuild],
examples: [
{
source: "slash",
descriptionKey: "examples.slash",
},
],
execute: createMemberMessageExecute("goodbye"),
});