From 6eb24bd377e745996d438055288424e9b90d0891 Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Sun, 11 Aug 2024 20:38:22 +0700 Subject: [PATCH] Fix readme --- README.id.md | 5 +++-- README.md | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.id.md b/README.id.md index 1827e5a0..383507ae 100644 --- a/README.id.md +++ b/README.id.md @@ -80,12 +80,13 @@ Jika Anda ingin membantu saya memperbaiki beberapa kesalahan di bot saya, Anda d * `LOG_CHANNEL` : Channel untuk mencatat aktivitas bot. Pastikan bot adalah admin di channel. ### Variabel Opsional +* `YT_COOKIES` : Dapatkan cookies Youtube menggunakan https://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc?pli=1 dan simpan isi file di github gist. Salin raw url dan isi di vars ini. * `USER_SESSION` : String session untuk Userbot. * `DATABASE_NAME`: Nama database di MongoDB * `COMMAND_HANDLER`: Daftar perintah handler bot dipisahkan dengan spasi. Contoh: `. !` > jadi bot akan merespon dengan `.cmd` atau `!cmd` * `SUDO`: User ID yang memiliki akses ke bot, dipisahkan dengan spasi -* `OPENAI_API`: Dapatkan dari Web OpenAI -* `BARD_API`: Pelajari dari ini https://github.com/dsdanielpark/Bard-API untuk mendapatkan cookies dan set sebagai api key. +* `OPENAI_API`: Dapatkan dari Web OpenAI (Deprecated Temporary) +* `GOOGLE_API`: Pelajari dari ini https://github.com/dsdanielpark/Bard-API untuk mendapatkan cookies dan set sebagai api key. * `CURRENCY_API`: Dapatkan API Key di https://app.exchangerate-api.com/sign-up ## [7] Tutorial Deploy (Recommended using Docker/Docker Compose) diff --git a/README.md b/README.md index 2cfa5768..9ad679d3 100644 --- a/README.md +++ b/README.md @@ -79,11 +79,12 @@ If you want help me fixing some error in my bot, you can make pull request to th * `LOG_CHANNEL` : A channel to log the activities of bot. Make sure bot is an admin in the channel. ### Optional Variables +* `YT_COOKIES` : Get YT cookies using https://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc?pli=1 and save cookies value on github gist. Copy raw url and fill in this vars. * `USER_SESSION` : Session string for Userbot. * `DATABASE_NAME`: Name of the database in MongoDB * `COMMAND_HANDLER`: List of handler bot command splitted by space. Ex: `. !` > so bot will respond with `.cmd` or `!cmd` * `SUDO`: User ID that have access to bot, split by space -* `SHUTTLEAI_KEY`: Get api key from https://shuttleai.app/keys +* `OPENAI_API`: Get it from OpenAI Web (Deprecated Temporary) * `GOOGLEAI_KEY`: Learn how to get api key from this https://ai.google.dev/tutorials/python_quickstart?hl=en. * `CURRENCY_API`: Get API Key from https://app.exchangerate-api.com/sign-up