mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 11:40:12 +01:00
chore: ruff fix
This commit is contained in:
@@ -92,7 +92,7 @@ class Logs(commands.Cog, name="logs"):
|
||||
selected_lines = all_lines[-lines:] if len(all_lines) > lines else all_lines
|
||||
log_content = "".join(selected_lines)
|
||||
|
||||
log_file = f"logs.txt"
|
||||
log_file = "logs.txt"
|
||||
with open(log_file, "w", encoding="utf-8") as f:
|
||||
f.write(
|
||||
f"Bot logs extracted at {discord.utils.utcnow().strftime('%Y-%m-%d %H:%M:%S')} UTC\n"
|
||||
|
||||
Reference in New Issue
Block a user