An open API service indexing awesome lists of open source software.

https://github.com/reginald-gillespie/hackpackhelpbot

Discord bot for pulling up references and debugging steps related to the Crunchlabs Hack Pack boxes, interfacing with Mark Robot, and automatically answering questions.
https://github.com/reginald-gillespie/hackpackhelpbot

ai artificial-intelligence crunchlabs discord-bot discord-js gemini-api hack-pack hackpack

Last synced: about 1 month ago
JSON representation

Discord bot for pulling up references and debugging steps related to the Crunchlabs Hack Pack boxes, interfacing with Mark Robot, and automatically answering questions.

Awesome Lists containing this project

README

          

## Hack Pack Help Bot
This is a bot designed to references or debugging steps I commonly use so that I don't have to constantly search for code files, links, or type repetitive things out when I'm on mobile.

You can add this bot to your account so that you can use its commands anywhere by clicking [this link](https://discord.com/oauth2/authorize?client_id=1261392544152027206).

If you are determined to self-host it for some reason, first install the libraries needed (`npm install`). Then create the file envs.json at the project root. Paste in this json and fill it out:
```json
{
"token": "",
"clientId": "",
"owner": "",
"GeminiKey": ""
}
```
Then run `./Modules/registerCommands.js` once to search through the help files and register commands for your bot. If you add more lookup categories, you will need to rerun this command. Run `index.js` to start the bot. See `./Modules/HackPackHelpBot.service` for auto starting on boot (paths will need to be modified).

---

## Features

**Commands**
- `/lookup `: Lookup saved messages under various categories.
- `/flowchart`: Pull up custom flowcharts for debugging.
- `/help`: Walk a user through a flowchart step-by-step
- And more

**Other**
- Pinging the bot replies with Mark Robot from https://ide.crunchlabs.com/
- If the bot detects a question it can answer based on the FAQs, it will reply using a two stage AI.

---

You can join the Official Hack Pack Discord [here](https://mee6.xyz/i/RAMmVgdtYZ).