mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-23 02:45:38 +00:00
Userlog: tiny fix
makes event deletion embeds show as "<fancyname> <number>" (Note 1) instead of using "<eventname> <number>" (notes 1)
This commit is contained in:
parent
6a8819a2a8
commit
9defe42424
|
@ -69,8 +69,9 @@ class ModUserlog:
|
|||
if idx < 1:
|
||||
return "Index is below 1!"
|
||||
event = userlog[uid][event_type][idx - 1]
|
||||
event_name = userlog_event_types[event_type].lower()
|
||||
embed = discord.Embed(color=discord.Color.dark_red(),
|
||||
title=f"{event_type} {idx} on "
|
||||
title=f"{event_name} {idx} on "
|
||||
f"{event['timestamp']}",
|
||||
description=f"Issuer: {event['issuer_name']}\n"
|
||||
f"Reason: {event['reason']}")
|
||||
|
|
Loading…
Reference in a new issue