get rid of the MessageDistributor module... & update discord, to work with API v10
Added discord commands (issue: as they're running over the event hub, they're processed on the same track as other events. => activity ingame triggers the next run; otherwise there's some delay for responses) relay is a standard module now.
This commit is contained in:
@@ -108,12 +108,12 @@ class CharacterInfoController:
|
||||
blob += self.alts_controller.format_alt_list(alts)
|
||||
|
||||
more_info = self.text.paginate_single(ChatBlob("More Info", blob))
|
||||
|
||||
msg = self.text.format_char_info(char_info, online_status, True) + " " + more_info
|
||||
msg = ChatBlob("More Info", blob, self.text.format_char_info(char_info, online_status, True)+" ")
|
||||
# msg = self.text.format_char_info(char_info, online_status, True) + " " + more_info
|
||||
elif char.char_id:
|
||||
blob = "<notice>Note: Could not retrieve detailed info for character.</notice>\n\n"
|
||||
blob += f"Name: <highlight>{char.name}</highlight>\n"
|
||||
blob += f"Character ID: <highlight>{char.char_id:d}</highlight>\n"
|
||||
blob += f"Character ID: <highlight>{char.char_id}</highlight>\n"
|
||||
if online_status is not None:
|
||||
blob += f"Online status: {'<green>Online</green>' if online_status else '<red>Offline</red>'}\n"
|
||||
blob += self.get_name_history(char.char_id)
|
||||
|
||||
Reference in New Issue
Block a user