Changed the string formatter from % to f"",
Fixed a bug related to logging [log dir does not exist on master, and needs to get created on first startup] Added !prefadmin <user> to view preferences of players, and change them Orgrank & name will be hidden in !alts, if the character is not in an org Page prefix & suffix are now being relayed [for example, it affects !online Fixed !perks Added comments regarding external API's.
This commit is contained in:
@@ -18,7 +18,8 @@ from modules.standard.helpbot.playfield_controller import PlayfieldController
|
||||
|
||||
@instance()
|
||||
class TowerService(BaseModule):
|
||||
# [{'org_name': "Dragons", 'hot': time.time() + 60 * 60}, {'org_name': "Most Wanted", 'hot': time.time() + 60 * 60}]
|
||||
# For this Module to work properly you might need to
|
||||
# contact the API host of your choice to whitelist your IP addresses.
|
||||
attack_hot = []
|
||||
plant = []
|
||||
|
||||
@@ -112,6 +113,10 @@ class TowerService(BaseModule):
|
||||
# ?limit is a parameter not documented anywhere, but allows pulling the whole list
|
||||
# On other API implementations this parameter has no effect,
|
||||
# as the server always responds with the full list.
|
||||
|
||||
# In the Future, this Event will get moved to an external process,
|
||||
# which maintains the tower Cache for all connected bots,
|
||||
# like it has been done with the Worldboss timers.
|
||||
from torpy.http.requests import TorRequests
|
||||
with TorRequests() as tor_request:
|
||||
with tor_request.get_session(1) as session:
|
||||
|
||||
Reference in New Issue
Block a user