Added the option to !opt-in/opt-out [onlinebot only]

Fixed command & event threading
Events are now threaded by event_type (i.e. all buddy_logon events get ran in the same one)
Added default preferences
Fixed recipe loading for multiple installs (i.e. on different machines)
This commit is contained in:
2021-08-27 13:58:47 +02:00
parent d0c8c1744c
commit c04f76c0db
24 changed files with 258 additions and 122 deletions
@@ -265,7 +265,7 @@ class LootListsController:
@command(command="totwh", params=[Options(
["binyacht", "guardian", "summoner", "loremaster", "nematet", "aegis", "lien", "gartua", "aztur", "khalum",
"uklesh", "gen", "armor"])],
description="Get list of items from Temple of Three Winds", access_level="all")
description="Get list of items from Temple of Three Winds", access_level="member")
def totwh_loot_cmd(self, _, category_name):
category = self.get_real_category_name(category_name)
items = self.get_items("Temple of Three Winds (HL)", category)
@@ -274,7 +274,7 @@ class LootListsController:
else:
return "No loot registered for <highlight>%s<end>." % category_name
@command(command="totwh", params=[], description="Get list of items from Temple of Three Winds", access_level="all")
@command(command="totwh", params=[], description="Get list of items from Temple of Three Winds", access_level="member")
def totwh_tables_cmd(self, _):
return ChatBlob("Temple of Three Winds (HL) loot tables",
self.build_overview("Temple of Three Winds (HL)", "totwh"))