import{_ as e,c as o,a0 as a,o as i}from"./chunks/framework.p2VkXzrt.js";const p=JSON.parse('{"title":"📦 Installation","description":"","frontmatter":{"banner_title":"MoBot - Installation","banner_description":"How to install MoBot and set up MoBot","head":[["meta",{"name":"twitter:image","content":"/assets/banner-cards/mobot-introduction-installation.png"}],["meta",{"name":"twitter:image:src","content":"https://docs.pixel-services.com/assets/banner-cards/mobot-introduction-installation.png"}],["meta",{"name":"twitter:card","content":"summary_large_image"}],["meta",{"name":"twitter:image:height","content":"1280"}],["meta",{"name":"twitter:image:width","content":"669"}],["meta",{"name":"twitter:description","content":""}]]},"headers":[],"relativePath":"mobot/introduction/installation.md","filePath":"mobot/introduction/installation.md"}'),s={name:"mobot/introduction/installation.md"};function n(l,t,r,d,h,c){return i(),o("div",null,t[0]||(t[0]=[a(`
Follow these steps to install and set up MoBot on your machine. MoBot is designed to be easy to install and configure, so you can get started quickly.
If you already have a Discord bot, you can skip this step. If you don't have a bot yet, follow these steps to create one:
Grab the latest release from the Releases Page.
MoBot.jar file.In your terminal, navigate to the directory where you downloaded MoBot.jar and run the following command:
java -jar MoBot.jarWhen you run MoBot for the first time, MoBot will ask you for a Discord bot token. You can get your token from the Discord Developer Portal.
Once you enter your token, MoBot will create a bot.yml file in the same directory. This file contains your bot's configuration settings. Additionally, MoBot will create a modules directory where you can place your custom modules.
It should look something like this:
mobot/
├── MoBot.jar
├── bot.yml
└── modules/Open the bot.yml file in a text editor. This file contains the configuration settings for your bot. You can customize various settings, such as:
Depending on what modules you have installed, you may need to enable specific intents. For example, if you have a module that requires the GUILD_MEMBERS intent, you need to add it in the bot.yml file.
intents:
- GUILD_MEMBERSAs of today, there is no official MoBot module repository. However, you can find some community modules on our Discord. To install a module, simply place the module's .jar file in the modules directory. MoBot will automatically load the module on startup.
You can also create your own modules! Check out the Creating a Module section for more information on how to create and manage your own modules.
Once you have configured your bot and installed any necessary modules, you can start the bot by running the following command in your terminal:
java -jar MoBot.jarYou should see logs indicating that the bot and any modules have been loaded successfully.
Need help? Join our Discord server for support and to connect with other MoBot users.
`,30)]))}const m=e(s,[["render",n]]);export{p as __pageData,m as default};