From baa65bb9ef4fa2cb6a3bdc6272de3078b4bd023d Mon Sep 17 00:00:00 2001 From: Izwzyzx <184772711+Izwzyzx@users.noreply.github.com> Date: Wed, 1 Mar 2023 14:26:52 -0600 Subject: [PATCH] Added basic help command --- Onequestionmark.hx | 3 +++ hxbuild.hxml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Onequestionmark.hx b/Onequestionmark.hx index 324f492..1795afc 100644 --- a/Onequestionmark.hx +++ b/Onequestionmark.hx @@ -93,6 +93,9 @@ class Onequestionmark { m.reply({content:"Dev Server response."}, true); } // Basic response commands + case "help": + m.reply({content:' + **onequestionmark bot commands**\n`?chk`: ack\n`?slap `: The classic mIRC troutslap.\n`?hug `: Posts randomized hug image.\n`?angery`\n`?subway`\n`?motd`: Enables MOTD for current channel (requires auth)\n`?devmode`: Toggles Dev Mode (requires auth)\n`?quit`: Shutdown command (requires auth)\n**Non-command bot functions:**\n*MOTD*: Bot will post a randomized *Meme of the Day* in enabled channels.\n*Icce*: Bot provides users with ice cuboids.\n*Meteor*: Bot reacts to falling rocks in the chat.'}, false); case "chk": m.reply({content:'<@${m.author.id}>: ack'}, false); case "slap": diff --git a/hxbuild.hxml b/hxbuild.hxml index 2e9558b..75a652b 100644 --- a/hxbuild.hxml +++ b/hxbuild.hxml @@ -2,5 +2,5 @@ -L hxdiscord # hxdiscord uses deprecated functions -D no-deprecation-warnings ---hl export/onequestionmark.hl ---cmd hl export/onequestionmark.hl \ No newline at end of file +--neko export/onequestionmark.n +--cmd neko export/onequestionmark.n \ No newline at end of file