This is a Discord bot that comforts you when you are lonely, is there for you in the middle of the night, keeps you hydrated, and does all of your bidding like a sexy buttler with a true passion for what they do.
To get a bot token go to Discord Developer Portal, create a new application and add a bot.
-
git clone <url>
-
Create an imgflip api account
-
Create a Ticketmaster api account
-
Create a file
bot.env
in the root project directory and fill it out using the example below -
docker-compose up --build -d
# bot.env
FRIENDO_TOKEN = <your token here>
MEME_USERNAME = <your imgflip api username>
MEME_PASSWORD = <your imgflip api password>
EVENT_API_KEY = <your ticketmaster api key>
- You can use the above docker method to run in a dev environment or the following pipenv (if using pipenv
the above environment variables must be added to the system or a file named
.env
).*
# Clone the repository on the develop branch
$ git clone -b "develop" https://github.com/fisher60/Friendo_Bot.git
# Navigate to the repository directory
$ cd Friendo_Bot
# Install pipenv through pip or your package manager
$ pip install pipenv
# Install the development and project dependencies
$ pipenv sync --dev
# Install pre-commit hooks
$ pipenv run pre-commit install
# Optionally: run pre-commit hooks to initialize them
$ pipenv run pre-commit run --all-files
# Enter the pipenv shell
$ pipenv shell
# Run the bot
$ pipenv run python -m bot