Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit b74a302

Browse files
committed
Slightly better log format for demo bot
1 parent 7a4f524 commit b74a302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo_bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ async def on_before_slash_command_invoke(ctx: slash.Context):
165165
logger.setLevel(logging.DEBUG)
166166
logger.addHandler(logging.StreamHandler())
167167
logger.handlers[0].setFormatter(logging.Formatter(
168-
'{levelname}\t{asctime} {message}', style='{'))
168+
'{levelname}\t{name}\t{asctime} {message}', style='{'))
169169

170170
token = os.environ['DISCORD_TOKEN'].strip()
171171

0 commit comments

Comments
 (0)