-
-
Notifications
You must be signed in to change notification settings - Fork 17
Selfhosted
Hosting the bot on a local machine or a remote server is the recommended way to host the bot. You may choose to use a Discord Bot Host but it will be a lot easier to debug and edit your bot on a local/remote server that you have direct access to.
P.S: This page assumes that you have already completed the Pre-Installation Steps If you haven't, go back and complete them because the bot cannot function without them..
Now that we have installed the prerequisites, let's clone the source code and move into the bot's directory.
git clone https://github.com/DakshNamdev/BrayanBot.git
cd BrayanBot
Now copy example.config.yml
to config.yml
, install dependencies and run the bot. You will need to enter your bot token in config.yml
for the bot to start.
-
cp example.config.yml config.yml
(Linux) orcopy example.config.yml config.yml
(Windows) -
npm install
oryarn
-
npm run start
oryarn start
And that's it, you have successfully started your bot! Now you may proceed to create amazing addons for your bot :)
💡 Ran into a problem? Join our support server
To see the instructions on customizing BrayanBot, please see the Customizing Page of the Wiki.