A discord bot that checks for commonly asked questions using natural language processing and answers them (made with discord.py and spaCy). Made for open-source sunday on the Slingshot Discord Server.
You can invite this bot to your server using this link!
Click to expand!
Use q!help
for access the commands list.
Use q!invite
to get the invite link for the bot.
Use q!addchannel
/q!removechannel
to add/remove a channel for the bot to watch.
Use q!addqa
/q!removeqa
to add/remove questions and answers.
Use q!viewqa
to get a link to the questions/answers in the database.
Once you've added a channel and some questions, the bot will answer questions in that channel!
This bot is hosted on Heroku and is free for everyone to use. However, if you'd like to run a version of this bot on your machine, follow the instructions below.
- Open the "data/config.json" and replace the fields in indicated in [brackets].
- Set up a firebase database and download the service account credentials to "data/firebase.json".
- Run the following commands in your terminal.
> pip install -r requirements.txt
> python3 bot.py
- Allow adding multiple channels.
- Changed the prefix to
q!
- Minor bug fixes.
- Expanded bot to work in different guilds.
- Renamed
!setchannel
to!addchannel
. - Added
!help
,!removechannel
,!removeqa
, and!viewqa
. - Set up a firebase database.
- Listed the bot on TopGG (awaiting approval so the link does not work yet).
- Initial release!