chore: ruff fix

This commit is contained in:
neoarz
2025-11-22 19:51:46 -05:00
parent 4a9b6b1f06
commit 23790c46b4
59 changed files with 65 additions and 147 deletions

View File

@@ -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"