From 39f3be6980c5d17cb045a1cee17369f553944484 Mon Sep 17 00:00:00 2001 From: Joan Date: Sun, 19 Oct 2025 00:34:12 +0200 Subject: [PATCH] Restore Python 3 type hints and f-strings in utils.py - Add type hints to create_progress_bar() and format_stat_bar() - Add type hints to admin_only() decorator and is_admin() - Use f-strings for logging (Python 3.11 compatible) - Improves code readability and IDE support --- bot/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/utils.py b/bot/utils.py index 1f10fa9..a565779 100644 --- a/bot/utils.py +++ b/bot/utils.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- """ Utility functions and decorators for the bot. """