An opensource Discord bot list developed by Windows, Awish, Mei-chan, Toxic-dev, PixelSized, and Dylan James to hopefully replace this. If you want to contribute open a pull request and the development team will take a look! For support, please join our support server.
Support for this version of botrix is no longer avaliable! There is a new unfinished version of botrix avaliable here: https://github.com/Botrixlist/botrix-react-opensource
Yes, please go here to apply for your bot. If you require support, or you would like to give any feedback or suggestions, please join the support server.
While we do offer some support for hosting Botrix on your own, please note that hosting locally is not fully supported and we aren't liable for running your own instance.
Probably not. Botrix has enough moving pieces that running a local version is complicated. The main purpose of having the source released is to allow others to understand and audit the functionality. The code is by no means meant to be easy to setup or bootstrap, and I don't plan on supporting folks trying to run locally. That said, feel free to run a local version of Botrix for your own purposes, (but not a public version please).
- You may not use the Botrix logo or name within derivative bots.
- You may not host a public version of Botrix.
- You may not charge for the usage of your instance of Botrix.
- You may not provide support for Botrix.
- You may not remove any credits to the original author anywhere within this bot. We know what code we've written, and we will recognize it.
Once you clone the repo into a folder, open config.json in your text editor of choice.
First off lets configure authentication set the id
property to your client id, and clientSecret
to your client secret.
To configure the callback go into your discord developer portal and add an oauth2 redirect to yourwebsite.com/api/callback
then go back to the config file and replace domain
with your base domain example: "https://botrix.cc"
. For completly free hosting you can create a free database with mongodb atlas. Once you have the connection string replace MongoDbServer
with your connection string. Replace Token
with your bot token and ServerToken
with your server bot token. I would recomend you keep the defualt port as long as your are not running on localhost. In the field AppId
put in your client id and callback
as the same thing as you put when you setup your oauth2 redirects.
The next thing we will configure is the owner users, these users will have acsess to the eval command and the website admin panel and verifacation to bots in the OWNER_USERS
field put the discord ids of the owners. Next will be the admin users, these users will have acsess to the admin panel, and to verify bots. This permission role is for the verifiers, in ADMIN_USERS
put the discord ids of your verifiers. Next we will setup default member and bot roles. Create a new role called Unverifed bots, copy the id of that role and paste it into this field UNVERIFIED_ROLE
. Next create a role called members copy the id and then paste it in BOT_DEVELOPER_ROLE_ID
. Now we can setup the verified bot developer, and bot roles. Create a new role called Verified Developer, copy the id and paste it into BOT_DEVELOPER_ROLE_ID_VERIFIED
. Create another role called Verified bots and paste the id of that role into VERIFIED_ROLE
. Paste your guild id into GUILD_ID
. Don't worry! We are almost done, these next params are for the website logs greeting_chan
is the greeting channel id, leave_chan
is for leave logs, and logging_chan
and MOD_LOG
is for all website logs (Updated bot pages, added bots, verified bots.),VOTE_LOG
is for logging votes,CERT_LOGS
are for all pending and new certifacation requests. Now for the hard part! Go into /src/veiws/add.ejs
and change line 292* fetch('https://cdn.botrix.cc/uploadBanner', {
to fetch your file uploading server see below how to set up your own file hosting server. Next go to line 297* 298* and change the https://cdn.botrix.cc/
to your image uploading server, please keep the /banner/ to keep compatibility. Do the same on the file /src/views/edit.ejs
on line 181* 186* and 188*. Congradulations! You have setup an instance of botrix!
This part of the guide will showcase on how to setup an image hosting service to upload banners on, for this you will need a vps. In the root dir of botrix go to botrix-fielupload in config.json setup the cdn url to your vps's ip or a subdomain pointing to the vps. Finally run it on the vps and your cdn network will be up.
Can I contribute?
Maybe. Feel free to submit PRs and issues, but unless they are explicitly bug fixes that have good documentation and clean code, I likely won't merge. Features will not be accepted through PR unless stated elsewhere. Do not submit feedback on this repository, the server is the right place for that. PRs focused around the frontend and web panel are more likely to be accepted.
- Fork the repository
- Clone your fork:
git clone https://github.com/Botrixlist/botrix.git
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
- Botrix was created by the following people: PixelSized, Windows, Awish, and Dylan James.
- Our inspiration to create Botrix was to hopefully replace this, we all agree that it's been around to long and we decided to redefine how botlists are made.