Fix for mrelay, and blobs. (Spotted by Luckycharmmz/VA - ty for the fixing assistance!)
Orgmembers will nolonger get invited into the priv channel of their orgbot.. (on reboot only) Added Nickname to !history (only useful for !history char_id>)
This commit is contained in:
@@ -36,7 +36,7 @@ class CharacterHistoryController:
|
||||
else:
|
||||
return f"Could not find history for <highlight>{char.name}</highlight> " \
|
||||
f"on server <highlight>{server_num}</highlight>."
|
||||
blob = " | ".join(["Date", "Lvl", "AI", "Side", "Breed", "CharId", "Guild (Rank)"]) + "\n"
|
||||
blob = " | ".join(["Date", "Lvl", "AI", "Side", "Breed", "CharId", "Name", "Guild (Rank)"]) + "\n"
|
||||
blob += "__________________________________________________________\n"
|
||||
return self.text.format_pagination(data, offset, page, self.formatter,
|
||||
f'History of {char.name} (RK{server_num})',
|
||||
@@ -54,5 +54,5 @@ class CharacterHistoryController:
|
||||
return "<red>DELETED</red>\n"
|
||||
return f"{last_changed} | <white>{self.text.zfill(int(row.level), 220)}</white> | " \
|
||||
f"<green>{self.text.zfill(int(row.defender_rank or 0), 30)}</green> | {row.faction:^7} | " \
|
||||
f"{row.breed:^10} | {self.text.zfill(int(row.char_id or 0), int(data[0].char_id or 0))} | " \
|
||||
f"{row.breed:^10} | {self.text.zfill(int(row.char_id or 0), int(data[0].char_id or 0))} | {row.nickname:^13} | " \
|
||||
f"<white>{org}</white>\n"
|
||||
|
||||
Reference in New Issue
Block a user