# YUM Package Manager

## Installing SeedBot and its Dependencies

To Install and Download everything you need put this into your console first:

```
$ sudo yum install curl -y
```

**Before you put this command in make sure you are in the directory that you want SeedBot in!**

```
$ curl -sL http://install.cdn.seedbot.xyz/yum | sudo -E bash -
```

Now, Once you have executed that this should show in your console, if this does not show then you have done something wrong or I have done something wrong, If you need any help feel free to Join my [Discord Server](https://discord.gg/VMszsux) to get some help!

![](/files/-LqanhyGHL-jTCfT7gZN)

Once you have ran this you can start getting your tokens for the bot!

## Configuring SeedBot

The first thing you need to do is Create a Discord Application and a Bot User to get your Bot Token, to do this I suggest [this guide](https://www.digitaltrends.com/gaming/how-to-make-a-discord-bot/).

Now to get your bot token you need to go onto your Application Page, Click Bot on the left, then click `Copy` below `Click to Reveal Token`

![](/files/-LqapB8XRUDhaBbfg3q3)

Once you have your Bot Token Go into the folder where you installed SeedBot and open the file `config.json` in your preferred text editor, I'll be using GNU Nano, now replace `token-here` on the second like with your token that you just copied!

![](/files/-LrJANwiuGKp_HKKVIRw)

![](/files/-LrJBo8B5jYHtqZtOmpP)

To Exit and Save the Config File hold down this following Key Combination `Ctl + X`

After you have done that you now need to get your Youtube API v3 Token if you want the music commands to work.

To go to your credential page [click here](https://console.developers.google.com/apis/credentials), then click on `Create Project`

![](/files/-LqapB8_dsxbJE81mIJ7)

Enter a Project Name of your choice

![](/files/-LqapB8aN8_XogfMi5FH)

Now it is time to enable the YouTube Data API, First off you need to click on Library on the left hand side of the website.

![](/files/-LqapB8bWir4BXNu2eKK)

After you have done that search for `YouTube Data API v3`

Once you have done that, Click on `YouTube Data API v3` and click on the Enable Button

![](/files/-LqapB8c1EY-yYUJgrgf)

And Select the YouTube API with the Web Server Setting under `Where will you be calling the API from?`

![](/files/-LqapB8STV2yEGQpsISA)

Now you can Copy your API Key by clicking on the copy button on the far right side of the text box where the API Key is (circled in red).

![](/files/-LqasCCu_gSyBWzrf1cR)

Now you can go back into your perfered text editor of choice then open back up the `config.json` file, then replace `youtube-api-token` on line 3 with the token you just copied.

![](/files/-LrJBo8B5jYHtqZtOmpP)

![](/files/-LrJBvnIR6w6F2o5HB-a)

Now once you have done that you can start SeedBot!

To start SeedBot just type in your terminal

```
$ node bot.js
```

Now this should show in your console if you have done everything correctly.

```bash
[jyles@SeedBot-Yum-Dev seedbot]$ node bot.js
ℹ  INFO        Starting SeedBot...
ℹ  INFO        Copyright 2018-2019, jyles.club and DARiOX.club
ℹ  INFO        Branch: Stable
ℹ  INFO        Running SeedBot Stable (1.3.0, build856)
ℹ  INFO        Bot started at Mon Oct 07 2019 23:47:12 GMT+0800 (GMT+08:00)
ℹ  INFO        Bot has started, with 21251 users, in 679 channels of 27 guilds.
------- Music Bot -------
> Version: 13.8.1
> Extra Logging: false.
> Node.js Version: v12.10.0
------- Music Bot -------
```

Congratulations! You have successfully installed SeedBot!

If you have any problems feel free to join my [Support Discord Server](https://discord.gg/VMszsux) or send us an [E-mail!](mailto:contact@dariox.club)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.seedbot.xyz/bot-install/guide-directory/yum-package-manager.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
