Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

1. Install

Bob Sardinia edited this page Oct 19, 2019 · 12 revisions

Self-Install Guide

This is written with the expectation that you are installing via Ubuntu or another similar flavor of nix. If anyone wants to write a guide for something else (or an install script, or whatever other cool shit is out there) let me know.

If someone installs successfully with this let me know, or let me know what I missed

Step 1

Firstly we need to install some back-end stuff

sudo apt-get install git python3.5-dev python3-pip ffmpeg libffi-dev libnacl-dev -y

Step 2

Next go to the folder you want to install in and use git clone https://github.com/shibdib/Firetail.git

Step 3

Go into the folder that was just created and do pip3 install --process-dependency-links -e .

Step 4

Go into the firetail folder and find example_config.py and set it up to your liking. Once done, save and rename that file to config.py

Now using the discord application described at the top of the config you need to invite the bot user to your server using https://discordapp.com/oauth2/authorize?client_id=PUT_YOUR_BOTS_CLIENT_ID_HERE&scope=bot&permissions=1571904

Step 5

Now you'll want to setup your bot to run as a service. There's a few ways to do this and I'm no expert on it. But I placed the following in a file named firetail.service in the /lib/systemd/system/ directory.

[Unit]
Description=Firetail

[Service]
WorkingDirectory=/home/firetailPublic
ExecStart=/usr/bin/python3 /usr/local/bin/firetail-bot -d
Restart=always

[Install]
WantedBy=multi-user.target

followed by a sudo systemctl enable firetail.service and sudo service firetail start

Step 6

Assuming your config is setup correctly and you invited the bot to your server. You should now be good to go!

Clone this wiki locally