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:
@@ -214,18 +214,18 @@ class SpecialsController:
|
||||
|
||||
blob += "<header2>Martial Artist</header2>\n"
|
||||
blob += f"Speed: <highlight>{ma_info.ma_speed:.2f} / {ma_info.ma_speed:.2f} secs</highlight>\n"
|
||||
blob += f"Damage: <highlight>{ma_info.ma_min_dmg:d} - {ma_info.ma_max_dmg:d} " \
|
||||
f"({ma_info.ma_crit_dmg:d})</highlight>\n\n"
|
||||
blob += f"Damage: <highlight>{ma_info.ma_min_dmg:.2f} - {ma_info.ma_max_dmg:.2f} " \
|
||||
f"({ma_info.ma_crit_dmg:.2f})</highlight>\n\n"
|
||||
|
||||
blob += "<header2>Shade</header2>\n"
|
||||
blob += f"Speed: <highlight>{ma_info.shade_speed:.2f} / {ma_info.shade_speed:.2f} secs</highlight>\n"
|
||||
blob += f"Damage: <highlight>{ma_info.shade_min_dmg:d} - {ma_info.shade_max_dmg:d} " \
|
||||
f"({ma_info.shade_crit_dmg:d})</highlight>\n\n"
|
||||
blob += f"Damage: <highlight>{ma_info.shade_min_dmg:.2f} - {ma_info.shade_max_dmg:.2f} " \
|
||||
f"({ma_info.shade_crit_dmg:.2f})</highlight>\n\n"
|
||||
|
||||
blob += "<header2>All other professions</header2>\n"
|
||||
blob += f"Speed: <highlight>{ma_info.gen_speed:.2f} / {ma_info.gen_speed:.2f} secs</highlight>\n"
|
||||
blob += f"Damage: <highlight>{ma_info.gen_min_dmg:d} - {ma_info.gen_max_dmg:d} " \
|
||||
f"({ma_info.gen_crit_dmg:d})</highlight>\n\n"
|
||||
blob += f"Damage: <highlight>{ma_info.gen_min_dmg:.2f} - {ma_info.gen_max_dmg:.2f} " \
|
||||
f"({ma_info.gen_crit_dmg:.2f})</highlight>\n\n"
|
||||
|
||||
return ChatBlob("Martial Arts Results", blob)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user