Added basic help command

This commit is contained in:
Izwzyzx 2023-03-01 14:26:52 -06:00
parent 7e755fa0cb
commit baa65bb9ef
2 changed files with 5 additions and 2 deletions

View File

@ -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 <target>`: The classic mIRC troutslap.\n`?hug <target (optional)>`: 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":

View File

@ -2,5 +2,5 @@
-L hxdiscord
# hxdiscord uses deprecated functions
-D no-deprecation-warnings
--hl export/onequestionmark.hl
--cmd hl export/onequestionmark.hl
--neko export/onequestionmark.n
--cmd neko export/onequestionmark.n