-
Notifications
You must be signed in to change notification settings - Fork 49
Self Hosting
Note: This page is not meant to help you figure out self-hosting! Before self-hosting MargarineBot, you should have the knowledge to manage Node.js projects and have a decent understanding of hosting.
Margarine is designed to be as a "right out of the box" program with very little needed setup. Before setting up the bot, a user should already have a Discord bot profile ready to go and a system that allows you to manage files within the process. If the bot can't manage files, it won't work
Margarine comes equip with a pre-built settings.json file labelled as settingsExample.json. You can either copy paste the contents into a new JSON file or simple rename the example file to settings.json
. As long as there is a settings.json
file modelled like in the example settings file and its within the assets folder, Margarine will be able to find it.
The settings file is where Margarine stores all of his global settings. Most of these keys within the JSON are editable, however you only need to set the token key to your bot's token in order to run. I also recommend setting the global prefix as well or otherwise it would be set to "Prefix". This is not as crucial as you can simply either mention the bot as its prefix or change it within the config commands and set your guild's prefix instead.
Then run! If you see something like "This is Margarine speaking! Online and awaiting orders!" in your console, congratulations! You've successfully setup your own instance of Margarine!
MargarineBot Project © 2017-2019 Butterstroke, © 2020-2021 Frederick Katsura