You can self host the ticket bot for branding purposes, to do so you are required to have knowledge of how discord bots work.
- Upload the bot to your server
- $ npm update
- Copy ".env.example" to ".env" and set all the values
- Run the bot using
sh run.sh
and make sure its starts successfully - In your tickets module edit file
Tickets/Jobs/TicketCreateWebhook.php
Replace URL
http://beta.wemx.net:3000/webhook
With
http://your-servers-ip:3000/webhook
Self hosting requires you to setup your own database to store the synced servers inside.
Create a new database for example "tickets" with a table called "servers" with the following columns: The table has to have the following values
- id (int AI)
- discord_server_id (string)
- protocol Enum: https://, http://
- domain: (string)
- api_key (string)
- updatedAt (timestamp)
- createdAt (timestamp)