Google Bard, but on Discord.
The reverse engineering is based on acheong08/Bard. Thanks acheong08 for creating this.
You need to install Python 3.10+ first.
-
Clone the repository
git clone https://github.com/Nat1anWasTaken/Bard
-
Install dependencies
pip install -r requirements.txt
-
Obtain session id
- Go to https://bard.google.com/
- F12 for console
- Session: Go to Application → Cookies → __Secure-1PSID. Copy the value of that cookie.
-
Rename
.env.example
to.env
and fill in the tokenTOKEN=discord_bot_token_here SESSION_ID=google_session_id_here OWNER_ID=discord_user_id_here OWNER_ONLY=1_or_0
-
Run the bot
python main.py