Added config parser and example config.ini file, removed hardcoded values from code

This commit is contained in:
nop surfer
2022-06-12 23:33:56 +02:00
parent 812178901c
commit f2707e440f
2 changed files with 16 additions and 5 deletions

6
config.ini Normal file
View File

@@ -0,0 +1,6 @@
[credentials]
JID = "botusername@example.org"
PASSWORD = "bot_password"
NICK = "mirrorbot"
ROOM1 = "room1_jid@example1.org"
ROOM2 = "room2_jid@example2.org"