# Zypper Package Manager

## Installing SeedBot and its Dependencies

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

```
> sudo zypper -n install nano curl
```

**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/zypper | 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!

![](https://3066300672-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqaZ1Xi4ZeXvVaPLZg6%2F-LqakEXnU9695diMne-s%2F-LqanhyGHL-jTCfT7gZN%2Fimg1.PNG?alt=media\&token=41c02cae-c542-4ad4-8d7a-c9a01ae15190)

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`

![](https://3066300672-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqaZ1Xi4ZeXvVaPLZg6%2F-LqakEXnU9695diMne-s%2F-LqapB8XRUDhaBbfg3q3%2Fguide1.png?alt=media\&token=9a0b225b-f9dd-43d8-a7e0-3528fe74078d)

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!

![](https://3066300672-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqaZ1Xi4ZeXvVaPLZg6%2F-LrIvPr_gft_iYaadEsv%2F-LrJ40b8lhNsP17tMnZk%2Fsuse-1.PNG?alt=media\&token=3a166f42-c901-4f88-92d6-aa7b771ede2c)

![](https://3066300672-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqaZ1Xi4ZeXvVaPLZg6%2F-LrIvPr_gft_iYaadEsv%2F-LrJ4Gr7znYyq3cv2YNJ%2Fsuse-2.PNG?alt=media\&token=8cd583c2-e7df-4352-9286-ca0d47f392bd)

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`

![](https://3066300672-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqaZ1Xi4ZeXvVaPLZg6%2F-LqakEXnU9695diMne-s%2F-LqapB8_dsxbJE81mIJ7%2Fguide4.png?alt=media\&token=ddbf8290-7780-4478-b817-718213cefdea)

Enter a Project Name of your choice

![](https://3066300672-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqaZ1Xi4ZeXvVaPLZg6%2F-LqakEXnU9695diMne-s%2F-LqapB8aN8_XogfMi5FH%2Fguide5.png?alt=media\&token=2380448d-069a-4825-bc38-21cae25474ae)

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.

![](https://3066300672-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqaZ1Xi4ZeXvVaPLZg6%2F-LqakEXnU9695diMne-s%2F-LqapB8bWir4BXNu2eKK%2Fguide6.png?alt=media\&token=7da29246-1172-47ca-80b5-0257ad0b1c19)

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

![](https://3066300672-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqaZ1Xi4ZeXvVaPLZg6%2F-LqakEXnU9695diMne-s%2F-LqapB8c1EY-yYUJgrgf%2Fguide7.png?alt=media\&token=ea046f08-d929-4061-b70b-edcc36d0fee2)

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

![](https://3066300672-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqaZ1Xi4ZeXvVaPLZg6%2F-LqakEXnU9695diMne-s%2F-LqapB8STV2yEGQpsISA%2Fguide9.png?alt=media\&token=9a895963-23de-481d-8d1c-59a8472d3e25)

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).

![](https://3066300672-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqaZ1Xi4ZeXvVaPLZg6%2F-LqakEXnU9695diMne-s%2F-LqasCCu_gSyBWzrf1cR%2Fimg4.PNG?alt=media\&token=5ca67b6c-2cb7-44b8-a292-f4f5bc13f3f5)

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.

![](https://3066300672-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqaZ1Xi4ZeXvVaPLZg6%2F-LrIvPr_gft_iYaadEsv%2F-LrJ4Gr7znYyq3cv2YNJ%2Fsuse-2.PNG?alt=media\&token=8cd583c2-e7df-4352-9286-ca0d47f392bd)

![](https://3066300672-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LqaZ1Xi4ZeXvVaPLZg6%2F-LrIvPr_gft_iYaadEsv%2F-LrJ4iQwDzxAZcyngrKP%2Fsuse-3.PNG?alt=media\&token=6451133a-cfcb-46c1-b868-5b1de2a3ea19)

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-Zypper-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)
