If a message starts with !, treat it as a command, and run it through a parser in another function rather than passing it to the Hive
If the final term in a valid command is a usermention, DM the output to that user (thereby avoiding FAQspam and so forth)
Special command: !tellme [utterance] sends the utterance to the Hive, and DMs the output to the sender rather than to the room
Do not respond to DMs! Only send them, ignore input from them. Maybe put that on config, but you shouldn't have to check your bot's logs to know what users are doing with it.
It might seem out of scope at first glance, but the overwhelming majority of use cases are chatbots or support bots, so it might as well exist out of the box. !faq!status!version HiveMind-core
!
, treat it as a command, and run it through a parser in another function rather than passing it to the Hive!tellme [utterance]
sends the utterance to the Hive, and DMs the output to the sender rather than to the roomIt might seem out of scope at first glance, but the overwhelming majority of use cases are chatbots or support bots, so it might as well exist out of the box.
!faq
!status
!version HiveMind-core