You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
8 months ago | |
---|---|---|
.github | 8 months ago | |
.vscode | 8 months ago | |
src | 8 months ago | |
.dockerignore | 8 months ago | |
.editorconfig | 8 months ago | |
.eslintrc.json | 8 months ago | |
.gitattributes | 8 months ago | |
.gitignore | 8 months ago | |
Dockerfile | 8 months ago | |
LICENSE.md | 8 months ago | |
README.md | 8 months ago | |
docker-compose.yml | 8 months ago | |
package-lock.json | 8 months ago | |
package.json | 8 months ago |
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.