{"id":24647363,"url":"https://github.com/fusefairy/discordbot-bardgpt","last_synced_at":"2025-10-07T06:32:21.324Z","repository":{"id":171685218,"uuid":"648227426","full_name":"FuseFairy/DiscordBot-BardGPT","owner":"FuseFairy","description":"Using Google Bard Chat AI on discord bot.","archived":false,"fork":false,"pushed_at":"2023-10-19T10:10:31.000Z","size":47,"stargazers_count":21,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-10-19T11:27:16.667Z","etag":null,"topics":["bard","bard-ai","chatgpt","chatgpt-bot","discord","discord-bot","google-bard","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FuseFairy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-01T13:40:22.000Z","updated_at":"2023-10-19T11:27:16.922Z","dependencies_parsed_at":null,"dependency_job_id":"e6692cd5-f4ef-4e2c-8d70-942975269f0e","html_url":"https://github.com/FuseFairy/DiscordBot-BardGPT","commit_stats":null,"previous_names":["fusefairy/discordbot-bardgpt"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuseFairy%2FDiscordBot-BardGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuseFairy%2FDiscordBot-BardGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuseFairy%2FDiscordBot-BardGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FuseFairy%2FDiscordBot-BardGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FuseFairy","download_url":"https://codeload.github.com/FuseFairy/DiscordBot-BardGPT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235600051,"owners_count":19016193,"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":["bard","bard-ai","chatgpt","chatgpt-bot","discord","discord-bot","google-bard","python"],"created_at":"2025-01-25T15:38:18.399Z","updated_at":"2025-10-07T06:32:16.008Z","avatar_url":"https://github.com/FuseFairy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DiscordBot-BardGPT\n\u003e ## Using Google Bard Chat AI on discord bot.\n\n## Update\n\u003e ### 2023/7/19 : Message can contain image.\n\u003e ### 2023/7/15 : Use another Bard api so the chatbot can work again.\n\u003e ### 2023/6/5 : Use SQLite storage of individual cookies so it doesn't reset when the bot restarts, it can also be exported for later use.\n\n## Features\n\n\u003cdetails\u003e\n   \u003csummary\u003e\n   \n   ### Slash command\n\n   \u003c/summary\u003e\n   \n\u003e ### will create a personal conversation for each user.\n   \n* cookies setting(use personal Google Bard Cookies): `/chatbot_setting [choice]`\n  \n  ![setting](https://i.imgur.com/MOGJN5e.png)\n  \n   \n* Bard: `/bard [message] [image]`\n  \n  \u003e**Warning** : Only up to 10 images will be displayed.\n\n  ![Bard1](https://i.imgur.com/LEmdIMI.png)\n  ![Bard2](https://i.imgur.com/q9hy2RP.png)\n  \n\u003c/details\u003e\n\n\u003cdetails\u003e\n   \u003csummary\u003e\n   \n   ### Mention bot\n\n   \u003c/summary\u003e\n\n\u003e ### same feature as the slash command, but this will reply all user messages.\n\n* Same as use `/bard`,\n\n  ![mention1](https://i.imgur.com/1PiYBi8.png)\n  ![mention2](https://i.imgur.com/Tf0dCeu.png)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n   \u003csummary\u003e\n   \n   ### Prefix command (available only to bot owner)\n\n   \u003c/summary\u003e\n \n \u003e ### bot owner setting.\n   \n * `!bardunload [file_name_in_cogs_folder]`: Disable command from the specified file.\n * `!bardload [file_name_in_cogs_folder]`: Enable the command from the specified file.\n \n   ![load \u0026 unload](https://i.imgur.com/lqqcxkd.png)\n  \n * `!bardclean`: Empty discord_bot.log file.\n * `!bardgetLog`: Get discord_bot.log file. Real-time tracking of the bot's operating status.\n   \n   ![bardgetLog](https://i.imgur.com/ZQok7qS.png)\n \n * `!bardgetdb`: Export Bard_id.db file\n   \n    ![getdb](https://i.imgur.com/gq9E7lV.png)\n   \n\u003c/details\u003e\n\n## Install\n```\npip install -r requirements.txt\n```\n\n## Usage\n\n1. Get Google Bard authentication.\n   * Go to [https://bard.google.com/](https://bard.google.com/)\n   * F12 for console\n   * ___SECURE_1PSID: Go to Application → Cookies → `__Secure-1PSID`. Copy the value of that cookie.\n     \n2. Rename the file`.env.dev`to`.env`, then open it and edit it. If you don't want a limit channel to mention a bot, you don't need to set up a MENTION_CHANNEL_ID, just leave it blank.\n   ```\n   DISCORD_BOT_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n   MENTION_CHANNEL_ID=123456789\n   ___SECURE_1PSID=\n   ```\n\n3. Start run your bot, hosted locally or on a server.\n\n   -\u003e Recommended Free Servers: [fly.io](https://fly.io/)\n\n## Credits\n* Bard - [https://github.com/dsdanielpark/Bard-API/tree/main](https://github.com/dsdanielpark/Bard-API/tree/main)\n\n## Contributors\n\nThis project exists thanks to all the people who contribute.\n\n \u003ca href=\"https://github.com/FuseFairy/DiscordBot-BradGPT/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=FuseFairy/DiscordBot-BardGPT\" /\u003e\n \u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusefairy%2Fdiscordbot-bardgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusefairy%2Fdiscordbot-bardgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusefairy%2Fdiscordbot-bardgpt/lists"}