{"id":27608384,"url":"https://github.com/grabercn/geminiandmediadiscordbot","last_synced_at":"2026-05-09T02:36:59.188Z","repository":{"id":218563880,"uuid":"672620434","full_name":"grabercn/GeminiAndMediaDiscordBot","owner":"grabercn","description":"Google Gemini and Media Enabled Discord Bot.","archived":false,"fork":false,"pushed_at":"2024-06-07T21:19:06.000Z","size":75,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T17:41:38.382Z","etag":null,"topics":["ai","artificial-intelligence","bard","discord","discord-bot","discord-py","download","gemini","library","media","music","music-bot","music-player","other","play","python","python3","run","youtube"],"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/grabercn.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,"zenodo":null}},"created_at":"2023-07-30T17:41:04.000Z","updated_at":"2025-03-12T14:29:38.000Z","dependencies_parsed_at":"2024-01-22T20:34:00.993Z","dependency_job_id":"b98726cf-ccd7-4bf8-9586-c8ffcf02770a","html_url":"https://github.com/grabercn/GeminiAndMediaDiscordBot","commit_stats":null,"previous_names":["grabercn/barddiscordbot","grabercn/geminiandmediadiscordbot"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/grabercn/GeminiAndMediaDiscordBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grabercn%2FGeminiAndMediaDiscordBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grabercn%2FGeminiAndMediaDiscordBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grabercn%2FGeminiAndMediaDiscordBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grabercn%2FGeminiAndMediaDiscordBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grabercn","download_url":"https://codeload.github.com/grabercn/GeminiAndMediaDiscordBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grabercn%2FGeminiAndMediaDiscordBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32805162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ai","artificial-intelligence","bard","discord","discord-bot","discord-py","download","gemini","library","media","music","music-bot","music-player","other","play","python","python3","run","youtube"],"created_at":"2025-04-22T22:33:57.985Z","updated_at":"2026-05-09T02:36:59.167Z","avatar_url":"https://github.com/grabercn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gemini Discord Bot\n\nGemini Discord Bot is a Python-based Discord bot that can respond to messages using AI. It can play music from local files, download music from YouTube, and perform various other functions.\n\n## Prerequisites\n\nBefore running the bot, make sure you have the following:\n\n- Python 3.x installed\n- Discord.py library installed (`pip install discord.py`)\n- PyTube library installed (`pip install pytube`)\n- FFmpeg installed and added to the system's PATH\n- __Check requirements.txt for further requirements!__\n\n## Getting Started\n\n1. Clone this repository to your local machine.\n2. Create a `credentials.py` file in the same directory as `main.py` and define the following variables:\n  - `bot_token`: Your Discord bot token\n  - `geminiCookie`: Your Gemini API cookie\n  - `music_dir`: The directory where your music files are stored\n3. Customize the bot's behavior by modifying the `personality` variable in the `CallAI` function.\n4. Run the bot by executing the `main.py` file (`python main.py`).\n\n## Usage\n\nThe bot responds to the following commands:\n\n- `!echo \u003cmessage\u003e`: Echoes the provided message.\n- `!play \u003csong\u003e`: Plays the specified song from a local file or downloads and plays it.\n- `!download \u003cvideo_url\u003e`: Downloads audio from the provided YouTube video URL or search term.\n- `!list music`: Lists all the music files in the music directory.\n- `!stop` or `!quit` or `!leave`: Stops playing music and leaves the voice channel.\n- `!queue \u003csong\u003e`: Adds the specified song to the music queue.\n- `!clear queue`: Clears the music queue.\n- `!list queue`: Lists all the songs in the music queue.\n- `!skip queue`: Skips the current song in the music queue.\n- `!delete \u003cfile\u003e`: Deletes the specified music file (admin user only).\n- `!speak \u003ctext\u003e`: Makes the bot speak the provided text in the voice channel.\n- `!status \u003cstatus\u003e`: Sets the bot's status to the provided status.\n- `!message \u003cusername\u003e \u003cmessage\u003e`: Sends a message to the specified user.\n- `!personality \u003cnumber\u003e`: Changes the bot's personality.\n- `!quote`: Quotes the last user's message and adds it to a quotes list.\n- `!list quotes`: Lists all the quotes in the quotes list.\n- `!delete quotes`: Deletes all the quotes in the quotes list (admin user only).\n\n## Contributing\n\nContributions are welcome! If you have any suggestions or improvements, feel free to open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrabercn%2Fgeminiandmediadiscordbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrabercn%2Fgeminiandmediadiscordbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrabercn%2Fgeminiandmediadiscordbot/lists"}