Added afk/brb

Timer messages ("Timer XX has yyy left") now get resumed after a bot restart
Alliance relay is discord compatible now. [Orgbot]
This commit is contained in:
2021-10-26 22:35:31 +02:00
parent bd8055dac7
commit 2d7ecf4883
14 changed files with 119 additions and 48 deletions
+3 -5
View File
@@ -25,6 +25,7 @@ class BotConfig:
"username": "",
"password": "",
"host": "",
"port": 3306,
"name": ""})
# IGNCore supports splitting of the DB; If you're hosting multiple bots, its generally a good idea to fill
@@ -39,14 +40,11 @@ class BotConfig:
"username": "",
"password": "",
"host": "",
"port": 3306,
"name": ""
})
# END #
# If you have got access to any sort of tower API (there are multiple)
# you can enter the URI for accessing it here.
tower_url = ""
# In this section you can add some slaves to the bot.
# They serve as a buddylist expander, and tells may get sent through them. (Tells which are known to be spammy)
slaves = [
@@ -75,4 +73,4 @@ class BotConfig:
]
# DO NOT TOUCH THIS LINE
slaves = [DictObject(x) for x in slaves if password != ""]
slaves = [DictObject(x) for x in slaves]
+4 -2
View File
@@ -12,6 +12,7 @@ class BotConfig:
"username": "",
"password": "",
"host": "",
"port": 3306,
"name": ""})
shared_db = DictObject({
@@ -19,9 +20,9 @@ class BotConfig:
"username": "",
"password": "",
"host": "",
"port": 3306,
"name": ""
})
tower_url = ""
slaves = [
# {"username": "account_name", "password": "password", "character": "character_name"},
@@ -39,4 +40,5 @@ class BotConfig:
"modules/raidbot"
]
slaves = [DictObject(x) for x in slaves if password != ""]
# DO NOT TOUCH THIS LINE
slaves = [DictObject(x) for x in slaves]