diff --git a/README.md b/README.md new file mode 100644 index 0000000..3b8a30f --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +# 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`: + - https://github.com/OpenSource-Discordlist-for-Bots/Old-Website + - https://github.com/OpenSource-Discordlist-for-Bots/Website