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)
|
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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Add table
Reference in a new issue