Chase c0ce839d09 | ||
---|---|---|
.github | ||
.vscode | ||
src | ||
.dockerignore | ||
.editorconfig | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
Dockerfile | ||
LICENSE.md | ||
README.md | ||
docker-compose.yml | ||
package-lock.json | ||
package.json |
README.md
A Self-Hosted Ban Appeal Form for a Discord Server.
Fork & re-design of sylveon/discord-ban-appeals
Table of Contents
Screenshots
Installation
Setup
- Create a new Discord Application.
- Make it a Bot account.
- Under the OAuth2 tab, add a new redirect of
https://your-domain.here/validate
. - Proceed with the installation.
- Reverse Proxy
http://localhost:port
to your (sub)domain with HTTPS.
Installation
Requirements
Installation
git clone https://github.com/chxseh/discord-web-appeals.git
cd appeals
npm i
For the initial setup, use
npm start
. After initial setup is completed you can usepm2 start npm --name "ban-appeals" -- start
to keep the web server running.
Configuration Explanation
Key | Description |
---|---|
discordBotToken | Your Discord Application's Bot Token. |
clientId | Your Discord Bot's Client ID. |
clientSecret | Your Discord Bot's Client Secret. |
port | The port to run this application on. |
websiteUrl | The URL of this site. |
jwtSecret | Should not be modified. |
guildId | The ID of the server to appeal bans on. |
channelId | The ID of the channel to send ban appeals to. |
auditChannelID | The ID of the channel to send startup messages to. (Optional) |
serverName | The name of your server. Used in page titles / descriptions. |
Customization
Favicon
To change the favicon, simply replace ./public/img/logo.png
with your own.
Sister Repositories
- chxseh/discord-bot - Discord Bot that is used for accepting/denying ban appeals.