feat: add response timeout

* also switch to env vars
This commit is contained in:
Udit Karode
2023-04-09 19:22:30 +05:30
parent bb4800505b
commit 02d7adbdca
7 changed files with 108 additions and 45 deletions

11
.env.example Normal file
View File

@ -0,0 +1,11 @@
# Run `document.cookie` in the console on bing.com/chat
# and paste it here. You must be logged in and have
# access to Bing Chat!
BING_COOKIE=
# The bot token you obtained from BotFather
TG_TOKEN=
# A comma separated list of chat IDs you want to allow
# to allow usage in all chats, set this to "all"
ALLOWED_CHATS=