âïļHosting
Hosting the bot on a VPS server
We also provide hosting. We can cover the burden of hosting for you. We provide 24/7 uptime, daily backups and straightforward code updates (within 1 minute!) if you so require.
Otherwise, follow the guide below to learn how to host this bot yourself.
Prerequisites for Docker Hosting
Basic Linux command line knowledge
A Linux VPS server or Raspberry Pi
Hosting with Docker
Follow the steps in Running with Docker but on your Linux server instead!
If the bot does not start up, view the logs with the following: docker ps -a
.
Grab the CONTAINER ID
and then run: docker logs <containerid>
. A common issue is forgetting to enable Discord Intents.
Prerequisites for Python Hosting
Hosting with Python
Follow the steps in Running locally. You will need to install a program like tmux or screen to run the script in the background so you can exit the server without the bot going offline. You can also use systemd to control the bot as a daemon.
Hosting with Systemd
Prerequisites for Systemd Hosting
The below should work for most Linux operating systems.
The steps below assume that you have root access to your VPS server and that the InHouseQueue code lives within the /root
directory. If you're using a Linux user, replace root with that user and point to whatever directory the code lives.
Install the requirements. Make sure you're inside the InHouseQueue directory and run:
Next, we want to create a systemd file.
Create a new file. Name it whatever you like but make sure it ends in .service
Paste in the code block below.
Run these commands in order
The bot should now be up and running!
You can start, stop or view the status of the bot. These are all pretty self-explanatory. If it's not, this should help.
Setup the Bot
/setchannel [channel] [game]
/setwinner log [channel] [game]
/top_ten [channel] [game]
Start a queue inside your queue channel with
/start
Last updated