1
0
Fork 0
mirror of https://gitlab.com/niansa/discordlistforbots.git synced 2025-03-06 20:49:22 +01:00
No description
Find a file
2021-06-10 12:04:39 +00:00
controllers Addded license headers 2021-06-10 13:58:43 +02:00
customstatic Added customizability 2021-03-23 14:37:14 +01:00
models Initial commit 2021-01-10 17:29:59 +01:00
static Updated layout 2021-02-24 15:02:14 +01:00
views Addded license headers 2021-06-10 13:58:43 +02:00
.gitignore Updated layout 2021-02-24 15:02:14 +01:00
bots.sql Fixed data type for votes column 2021-03-24 12:04:35 +01:00
CMakeLists.txt Added customizability 2021-03-23 14:37:14 +01:00
LICENSE Added GPLv3 license file 2021-06-10 10:57:58 +00:00
main.cc Addded license headers 2021-06-10 13:58:43 +02:00
README.md Fixed README.md 2021-06-10 12:04:39 +00:00

Discord list for bots

Open source bot list website, for everyone who wants to drive a Discord bot list. Originally programmed for the Discordlist For Bots list (hence the name), who then banned me, reuploaded and relicensed the code without permission.

Configuration

Create a file named config.h in the root then paste and edit the following:

#define LISTEN_ADDR "0.0.0.0"
#define LISTEN_PORT 8082

#define DB_TYPE "postgresql"
#define DB_HOST "192.168.178.39"
#define DB_PORT 5432
#define DB_NAME "dfb"
#define DB_USER "julius"
#define DB_PASSWORD "6345786435663524675324"

#define OAUTH_URL "https://discord.com/api/oauth2/authorize?client_id=795612465130897420&redirect_uri=http%3A%2F%2Flocalhost:8082%2Fdiscordauth&response_type=code&scope=identify"
#define CLIENT_ID "795612465130897420"
#define CLIENT_SECRET "EfXdBUarb8ZSZyyYQggSAzXYwIdXa3-y"
#define REDIRECT_URI "http://localhost:8082/discordauth"
#define BOT_TOKEN "Nzk1NjEyNDY1MTMwODk3NDIw.X_L52Q.tr_WaAmgp-QvtS8EPSaJnZhG4Gk"
#define LOG_WEBHOOK "824208240333291561/eI39bQGclrizr0OzRGrB_W7QI3gfY7tlYpWv8RkkDVzIOVFRDTjgkuavE7YfkIzDcGsy"

#define MODERATORS {609486822715818000, 703944517048598568, 705557092802625576, 664869643567235097, 775017772358434817}

#define COMMUNITY "https://discord.gg/42vDtZxZSt"

#define SHORT_NAME "DFB"
#define LONG_NAME "Discordlist for Bots"
#define DESCRIPTION "Find a lot of bots that will be useful to your server"

(Original config.h, no longer in use)

Code thieves

The code has been thieved (reuploaded and relicensed) by Juilaaan2502: