Fix fstring issue in /bans list

This commit is contained in:
Zeva Rose 2021-07-24 21:06:52 -06:00
parent 0650e033d8
commit 1f552d7d32
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ jarvis = commands.Bot(
) )
slash = SlashCommand(jarvis, sync_commands=True, sync_on_cog_reload=True) slash = SlashCommand(jarvis, sync_commands=True, sync_on_cog_reload=True)
jarvis_self = Process() jarvis_self = Process()
__version__ = "1.5.5" __version__ = "1.5.6"
db = DBManager(get_config().mongo).mongo db = DBManager(get_config().mongo).mongo

View file

@ -369,7 +369,7 @@ class AdminCog(commands.Cog):
fields.append( fields.append(
Field( Field(
name=f"Username: {ban.username}#{ban.discrim}", name=f"Username: {ban.username}#{ban.discrim}",
value="Date: {ban.created_at.strftime('%d-%m-%Y')}\n" value=f"Date: {ban.created_at.strftime('%d-%m-%Y')}\n"
+ f"User ID: {ban.user}\n" + f"User ID: {ban.user}\n"
+ f"Reason: {ban.reason}\n" + f"Reason: {ban.reason}\n"
+ f"Type: {ban.type}\n\u200b", + f"Type: {ban.type}\n\u200b",