Fix fstring issue in /bans list
This commit is contained in:
parent
0650e033d8
commit
1f552d7d32
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ jarvis = commands.Bot(
|
|||
)
|
||||
slash = SlashCommand(jarvis, sync_commands=True, sync_on_cog_reload=True)
|
||||
jarvis_self = Process()
|
||||
__version__ = "1.5.5"
|
||||
__version__ = "1.5.6"
|
||||
|
||||
|
||||
db = DBManager(get_config().mongo).mongo
|
||||
|
|
|
@ -369,7 +369,7 @@ class AdminCog(commands.Cog):
|
|||
fields.append(
|
||||
Field(
|
||||
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"Reason: {ban.reason}\n"
|
||||
+ f"Type: {ban.type}\n\u200b",
|
||||
|
|
Loading…
Add table
Reference in a new issue