1. Setting up a development environment - VikingsDev/Dentaku GitHub Wiki

Setting up a development environment

  1. Clone the repository. git clone https://github.com/VikingsDev/Dentaku.git
  2. Create a virtual environment. python -m venv venv
  3. Create an export file. touch export.sh
  4. Edit export.sh using a text editor, and add
export EMAIL="YOUR_FACEBOOK_ACCOUNT_EMAIL"
export PASSWORD="YOUR_FACEBOOK_ACCOUNT_PASSWORD"
export BITLY_GAT="YOUR_BITLY_GENERIC_ACCESS_TOKEN"

Note: Replace the strings with your own information, but keep the quotation marks! Get your bit.ly Generic Access Token, which is required if you want to use commands with link shorteners. (Remember to hit save in the text editor before activating the variables!) 5. Activate the variables and venv. source export.sh source venv/bin/activate 6. Install the required packages. pip install -r requirements.txt 7. Run the bot. python main.py You should see this:

Logging in [YOUR_FACEBOOK_ACCOUNT_EMAIL]...
Login of [YOU_FACEBOOK_ACCOUNT_EMAIL] successful.
Listening...

Keep Dentaku running and check your Messenger! You should have received a message from yourself, saying "Dentaku is online." Test the 'help' command by sending !help to the chat. Now you can make your own commands by following the guidelines below. :)