{"repo":"Uhuh/RoleBot","free":true,"listed":false,"github":"https://github.com/Uhuh/RoleBot","clone":"git clone https://github.com/Uhuh/RoleBot.git","description":"A bot that helps servers hand out roles easier and faster.","language":"TypeScript","stars":32,"topics":["discord","discord-bot","nodejs"],"license":"AGPL-3.0","category":"chat-messaging","readme_excerpt":"Check out RoleBots Site Checkout RoleBots Discord support server RoleBot Selfhosting RoleBot is available to be selfhosted! This is a guide on how to do so. Requirements - Node.js (v17.00 or newer) - Yarn - Curl --- Hosting environment. It is ideal that you do this in a linux environment. You can run this bot just fine in Windows Subsystem for Linux ( WSL). This is what I use. If you want to install this go here. For the sake of this \"guide\" I am setting up in a debian (Ubuntu/WSL) enviroment for yarn and nvm. Install nvm (Node Verson Manager) To install nvm you need to use curl , incase you don't have curl installed here's the command to install --- Now install nvm Now you need to logout and login again to load the nvm environment correctly, or you can run this command to do the same. Now confirm it was installed correctly with --- Use nvm to install node/npm Since this version of the bot at time of writing uses discord.js@14.X we're required to use node@18 minimum. So let's install node@18 with nvm and set the default version to 18. --- Install yarn with npm Now let's install yarn globally. --- Your environment should be good to go from here If you don't have git installed do this.. Now that we have git installed let's clone down the repo, change directory, and install our dependecies. --- Great! We should have our dependencies installed. Now let's update some tokens so we can turn the bot on. I use dotenv and have an example .env in this repo here. You can copy it and make","default_branch":null,"files":null,"tree":[],"storefront":"/r/Uhuh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Uhuh/RoleBot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}