Skip to content
HelpBot Module
Branch: master
Clone or download
Pull request Compare This branch is 26 commits ahead of autobots-rocks:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
package-lock.json
package.json
tsconfig.json

README.md

HelpBot for discord

Helpbot manages questions submitted by users.

Installation

Install the node module in your bot project root directory:

npm install @autobot/module-helpbot

Add the following configuration variable to your .env file:

HELPBOT_COMMAND_PREFIX=?
HELPBOT_ADMIN_ROLE_NAME=<role name i.e.: admin>
HELPBOT_QUESTIONS_CHANNEL_ID=<some channel id>

Commands

Command Description
?ask <some question> #javascript #java etc Submits a question with tags.
?search all Returns all questions.
?search <terms> Searches all questions.
?search id=<#> Retrieve a question by id.
?search status=<new,answered> Searches questions by status.
?answer id=<#>, answer=<insert answer here> Answers a question, user receives a copy via direct message.
?close id=<#> Closes a question ticket.
?delete id=<#> Delete a question by it's id #.
?tagadd name=<tag name>,description=<tag description - optional> Creates a new tag.
?tagdelete name=<tag name> Delete a tag by name.
?comment id=<#>,comment=<insert comment> Adds a comment, user receives a copy via direct message.
You can’t perform that action at this time.