-
-
Notifications
You must be signed in to change notification settings - Fork 17
Preinstall
If you have decide to self-host BrayanBot, that's great. Self-hosting is the preferred option. But you will need a few things installed on your device. First and foremost, a machine to host on; be it a Windows Desktop or a Raspberry Pi with Archlinux installed on it, for the bot to function. If you are using a Hosting Provider, you probably do not need any of those on your device. Instead, grab yourself a nice SFTP client and a nice code editor.
- Git
- NodeJS v16.6.0+
- NPM or Yarn
If you are using Docker to host Brayanbot, you will also need
If you have successfully installed the prerequisites, proceed to creating your Bot Application.
- Open the Discord Developer Portal.
- Click on the New Application button.
- Enter a name for your application.
- Click the Create button. You can edit your application's name, description and avatar on the same page.
- Save the changes if you have made any.
- Move to the Bot tab on the left panel.
- Click on Add Bot button on the right side then confirm by clicking Yes, do it!
In this page, you can change your bot's avatar & username.
To create an invite link, head back to the My Apps page under the Applications section, click on your bot application, and open the OAuth2 page from the left panel.
-
At the bottom of the page, you'll find Discord's OAuth2 URL generator. Select the bot and applications.commands selections. Once you select the bot option, a list of permissions will appear, then select Administrator(Recommended).
-
Grab the link via the Copy button and enter it in your browser's URL.
-
Choose the server you want to add it to and click "Authorize". Do note that you'll need the "Manage Server" permission on a server to add your bot there. This should then present you a nice confirmation message. Confirm, and enjoy your new bot.