File size: 1,291 Bytes
71acbff 8f30cba 71acbff 8f30cba |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# Configuration File with stored constants
# Define the login URL and the thread URL:
login_url = 'https://waronline.org/fora/index.php?login/login'
thread_url = 'https://waronline.org/fora/index.php?threads/warbot-playground.17636/'
post_url = "https://waronline.org/fora/index.php?threads/warbot-playground.17636/add-reply"
# SSH settings
ssh_host = '129.159.146.88'
ssh_user = 'ubuntu'
#ssh_key_path = 'C:/Users/kerts/OneDrive/Documents/Keys/Ubuntu_Oracle/ssh-key-2023-02-12.key'
ssh_key_path = 'ssh-key-2023-02-12.key' #Important to change this on the target machine!
# MySQL settings:
mysql_host = 'localhost' # because we will connect through the SSH tunnel
mysql_port = 3306 # the default MySQL port
mysql_user = 'root'
mysql_password = 'naP2tion'
mysql_db = 'warbot'
ssh_port = 22
dbTableName = 'conversations' # messages data table
# WarBot Server Settings:
HOST = '129.159.146.88'
PORT = 5000
# Define the login credentials:
username = 'WarBot'
password = 'naP2tion'
# Maximum number of words in message:
MaxWords = 50 # The server is relatively weak to fast-process the long messages
# Maximum conversation pairs in the Database
remaining_messages = 2
# Time between the reply sessions:
timeout = 5 # min
# Call for image generation:
imgWord = 'как выглядит' |