mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-20 06:05:12 +01:00
refactored language to bot_language
"language" seems to be reserved on some systems for the actual system language
This commit is contained in:
@@ -72,7 +72,7 @@ def main():
|
||||
'token_price': float(os.environ.get('TOKEN_PRICE', 0.002)),
|
||||
'image_prices': [float(i) for i in os.environ.get('IMAGE_PRICES',"0.016,0.018,0.02").split(",")],
|
||||
'transcription_price': float(os.environ.get('TOKEN_PRICE', 0.006)),
|
||||
'language': os.environ.get('LANGUAGE', 'en')
|
||||
'bot_language': os.environ.get('BOT_LANGUAGE', 'en')
|
||||
}
|
||||
|
||||
# Setup and run ChatGPT and Telegram bot
|
||||
|
||||
Reference in New Issue
Block a user