Dough Git

commit

Make the help command use it's own file

commit
6aa2806fdfa92dafe9457f546014446a4e761b4d
author
Clove Twilight <[email protected]>
date
2026-11-16 20:34

diff --git a/src/commands/help.ts b/src/commands/help.ts
new file mode 100644
index 0000000..8e9f9f9
--- /dev/null
+++ b/src/commands/help.ts
@@ -0,0 +1,16 @@
+/* src/commands/help.ts */
+
+import type { Message } from "discord.js";
+
+const helpText = [
+    "`d!edit <text>` edits the message you reply to, or your latest proxied message. `d!e` works too.",
+    "`d!explain` explains the bot, and plurality. `d!ex` works too,",
+    "`d!autoproxy` shows the state, `d!autoproxy on|off` sets it. `d!ap` works too.",
+    "-# React ❌ to delete a proxied message, ❓ to see who sent it.",
+].join("\n");
+
+export async function helpCommand(
+    message: Message,
+): Promise<void> {
+    await message.reply(helpText);
+}