A discord bot for submitting a mentor request form at HackTheMidlands 4.0.
Type !mentor
anywhere in the HackTheMidlands Discord server, and it will trigger the bot to privately message you the questions required for requesting a mentor.
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip3 install -r requirements.txt
You will need a token for discord. Follow this guide to get one.
Add the token, and URL for the form you want to use to config.json
.
{
"token": "token",
"url": "url",
"start_message": "First message when the command is called",
"end_message": "Last command to show all the questions have be answered",
"embed_title": "The title for polls, such as radios",
"prefix": "prefix for the discord bot"
}
$ python3 -m mentorbot
- Justin Chadwell: Form scraping, validation and submission
- Will Russell: Discord bot used for asking questions and response handling