mirror of
https://github.com/arthur-pbty/flint.git
synced 2026-08-01 20:29:03 +02:00
- 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.
27 lines
772 B
TypeScript
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"),
|
|
});
|