{"id":15133061,"url":"https://github.com/happyzxzxz/lolandbot","last_synced_at":"2026-02-25T08:41:24.649Z","repository":{"id":186784931,"uuid":"675759592","full_name":"happyzxzxz/LolandBot","owner":"happyzxzxz","description":"Music bot for discord (Yandex/Youtube/Spotify/VK/etc)","archived":false,"fork":false,"pushed_at":"2024-08-15T05:44:49.000Z","size":113,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T17:38:24.327Z","etag":null,"topics":["bot","discord","gelbooru","lavalink","lavasrc","openai-api","saucenao-api","vk-api","wavelink","yandex-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/happyzxzxz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-07T16:50:03.000Z","updated_at":"2024-11-28T13:57:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1a3f6e8-730c-45bf-961c-b68a3bdf49db","html_url":"https://github.com/happyzxzxz/LolandBot","commit_stats":{"total_commits":65,"total_committers":2,"mean_commits":32.5,"dds":0.3538461538461538,"last_synced_commit":"4cccced189da317a15ff053e3006760dc62ad25a"},"previous_names":["happyzxzxz/lolandbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyzxzxz%2FLolandBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyzxzxz%2FLolandBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyzxzxz%2FLolandBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/happyzxzxz%2FLolandBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/happyzxzxz","download_url":"https://codeload.github.com/happyzxzxz/LolandBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237807439,"owners_count":19369595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","discord","gelbooru","lavalink","lavasrc","openai-api","saucenao-api","vk-api","wavelink","yandex-api"],"created_at":"2024-09-26T05:00:22.899Z","updated_at":"2026-02-25T08:41:24.631Z","avatar_url":"https://github.com/happyzxzxz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LolandBot\n\nMusic bot for discord. Made with [Lavalink](https://github.com/lavalink-devs/Lavalink), [Wavelink 3.0](https://github.com/PythonistaGuild/Wavelink) and plugins: [Lavasrc](https://github.com/topi314/LavaSrc), [Youtube-source](https://github.com/lavalink-devs/youtube-source)\n\n### Features\n- Youtube search as main music source, also supports vk music, yandex music, spotify, twitch and basically everything that [Lavasrc](https://github.com/topi314/LavaSrc) had implemented (including any audio files and some audio streams)\n- Fully functional music player in discord\n- Openai image and chat requests. Can chage API endpoint to use different provider\n- Gelbooru api requests\n- Saucenao api requests\n- Flowery TTS api requests\n- Reaction roles\n- Custom server-personalized equalizer settings for the player\n- Scripts to launch all this stuff automatically for windows and linux. Will add better deploy some time later\n\n### What do you need?\n\n- [Java Runtime Enviroment 17](https://www.oracle.com/java/technologies/downloads/) or newer\n- [Python 3](https://www.python.org/)\n- [wget](https://www.gnu.org/software/wget/) on linux or [curl](https://curl.se/) on windows (should be preinstalled already)\n\n### Quick setup\n\n1. Change variables in the [`.env`](https://github.com/happyzxzxz/LolandBot/blob/main/.env) file. Bare minimum is only `DISCORD_API_TOKEN`. If you don't want anything else, you can leave it untouched. You can get most of these keys somewhere at the provider site, openai.com for example. If you want `YANDEX_MUSIC_TOKEN` or Spotify stuff, go to the [Lavasrc](https://github.com/topi314/LavaSrc) github page. VK token is [here](https://vkhost.github.io/)\n2. In [`settings.py`](https://github.com/happyzxzxz/LolandBot/blob/main/settings.py) change values of the `ENABLED_COMMANDS` variable. Enable only that commands that you will use. It also makes sense to disable commands that requires some api keys that you didn't set up in the [`.env`](https://github.com/happyzxzxz/LolandBot/blob/main/.env)\n3. Launch `setup_and_launch` file (bat/sh) depending on your os (this activates new python venv too)\n4. Wait some time before bot will sync all commands and launch. Alternatively, you can launch bot with `python main.py` and Lavalink with `Java -jar Lavalink.jar`\n\n### Authorization method and cipher\n\nIf you want to use **_Youtube_** or **_Spotify_** sources then you need to choose between one of the two available options:\n\n1. #### Google OAuth (recommended)\n\n- Will work for a long time but may be bad with a high traffic.\n- **Can get your account terminated! Use only with burner please** \\\nTo use it, just launch lavalink one time (`setup_and_launch` or `launch_lavalink`) and then see Lavalink logs (current log is in the [`Lavalink/logs/spring.log`](https://github.com/happyzxzxz/LolandBot/blob/main/Lavalink/logs/spring.log) file). There will be a link. Just auth with your google account and paste your refresh token in the [`.env`](https://github.com/happyzxzxz/LolandBot/blob/main/.env) where `YOUTUBE_REFRESH_TOKEN` is and then restart lavalink (`kill_lavalink` for example). Done.\\\n\\\nSee more [here](https://github.com/lavalink-devs/youtube-source?tab=readme-ov-file#using-oauth-tokens)\n\n2. #### Potoken\n\n- No need for any accounts\n- Could be annoying to maintain, one token works for around 12 hours\n- Works only with WEB and WEBEMBEDDED clients\n\nSee [This Page](https://github.com/lavalink-devs/youtube-source/?tab=readme-ov-file#using-a-potoken) for instructions. Right now there is no automatic support for it in this bot, but you can do it yourself. \\\n\\\nUnfortunately, authorization is **not enough** by itself, you also need to setup a [Cipher Server](https://github.com/lavalink-devs/youtube-source?tab=readme-ov-file#using-a-remote-cipher-server) for Youtube and Spotify to work (Just host it and specify all the data for cipher in [`.env`](https://github.com/happyzxzxz/LolandBot/blob/main/.env))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappyzxzxz%2Flolandbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhappyzxzxz%2Flolandbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhappyzxzxz%2Flolandbot/lists"}