refactored language to bot_language

"language" seems to be reserved on some systems for
the actual system language
This commit is contained in:
AlexHTW
2023-04-13 02:14:11 +02:00
parent 2598ac1f5c
commit df1d405b58
2 changed files with 47 additions and 47 deletions

View File

@@ -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