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:
2021-08-14 02:36:20 +02:00
parent 80b5a4b577
commit 46d0ba3634
19 changed files with 104 additions and 86 deletions
+2 -2
View File
@@ -57,6 +57,6 @@ class PerksController:
if row.perk_name != current_perk:
blob += f"\n<header2>{row.perk_name} {row.max_perk_level}</header2>\n"
current_perk = row.perk_name
blob += f"{row.skill} <highlight>{row.buff_amount:d}</highlight>\n"
blob += f"{row.skill} <highlight>{row.buff_amount}</highlight>\n"
return ChatBlob(f"Buff Perks for {level:d} {prof}", blob)
return ChatBlob(f"Buff Perks for {level} {prof}", blob)