Fix Warnings to handle Notes instead

reminder
Etzelia 2018-12-18 17:35:44 +01:00
parent 8b69c72d5a
commit 6d6538664e
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ def build_warning(warning, link):
url="https://cdn.discordapp.com/avatars/454457830918062081/b5792489bc43d9e17b8f657880a17dd4.png")
embed.add_field(name="Date", value=warning.date_display)
embed.add_field(name="Player", value=warning.player.username.replace("_", "\\_"))
embed.add_field(name="Severity", value=warning.severity_display)
embed.add_field(name="Importance", value=warning.importance_display)
embed.add_field(name="Message", value=warning.message)
embed.add_field(name="Link", value=link)
return [embed.to_dict()]