forked from Minecraft/minecraft_manager
Fix Warnings to handle Notes instead
parent
8b69c72d5a
commit
6d6538664e
2
utils.py
2
utils.py
|
@ -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()]
|
||||
|
|
Loading…
Reference in New Issue