An open-source ticket management bot for Discord - a free alternative to the premium and white-label plans of other popular ticketing bots. You can find the original repo here.
You can host Discord Tickets bot on Railway for free without credit card! On railway you get $5 credit monthly for free (more info about their pricing here). If you use your free credit, your projects will be paused and you need to re-deploy them next month when you get credit. You can also upgrade to Developer plan by adding your credit card details (you will be billed only when your usage is more than $10). You don't have to add your credit card tho. Railway offers MySQL plugin so you don't need to worry about database. Just follow this guide. Discord Tickets docs: https://discordtickets.app
-
Create account on railway by clicking here and login with Github
-
Create a bot from Discord dev portal and invite it to your Discord server - guide
-
Fork Discord Tickets Railway repo from here https://github.com/AnonDev-org/discord_tickets-bot-railway When there is update, you will need to make sure your fork is up to date with the original repo. Forked repo is needed for changing configuration in
/user/config.js
file. -
You can edit config in
/user/config.js
file. Don't put your token and other secrets to this file, as if you have public repo everyone can see it. This file is not used for configuring secrets. -
Go to railway and deploy from github repo - https://railway.app/new/github . If you don't see your repo there, click on "Configure the Railway app on GitHub" and install railway app to your github repo.
-
Add the following variables:
DISCORD_TOKEN
- your bot's tokenDB_ENCRYPTION_KEY
- random code, you can use UUID v4, generate here https://uuidonline.com/
-
Click on Deploy button and wait.
-
Create MySQL plugin. Click on "Add plugin" in menu and choose MySQL.
-
Go to variables and add these variables for MySQL:
DB_TYPE
- set tomysql
DB_HOST
- copy the variable that is set asMYSQLHOST
in MySQL preset variablesDB_PORT
- copy the variable that is set asMYSQLPORT
in MySQL preset variablesDB_USER
- copy the variable that is set asMYSQLUSER
in MySQL preset variablesDB_PASS
- copy the variable that is set asMYSQLPASSWORD
in MySQL preset variablesDB_NAME
- copy the variable that is set asMYSQLDATABASE
in MySQL preset variables You can find those MySQL preset variables in Variables. After adding the variables click on deployments and wait until its re-deployed.
- 🎉 Your Discord tickets bot should be online now, you can configure your bot now.
If you need help you can open new modmail support thread on Pinglik Support Server and we will help you 😉. You can also ping me on Discord Tickets Discord server