mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 11:14:23 +00:00
New updates changelog:
- Update info command (mod_defender.py)
- Update help on commands (mod_clone.py)
This commit is contained in:
@@ -39,9 +39,6 @@ def tr(message: str, *args) -> str:
|
||||
# Access to user object ==> global_instance.get_user_option
|
||||
client_language = g.current_admin.language if g.current_admin else g.global_lang
|
||||
|
||||
if g.current_admin:
|
||||
print("Current Admin", g.current_admin.nickname, "Current language", client_language, "Global language", g.global_lang)
|
||||
|
||||
if count_args != count_placeholder:
|
||||
g.global_logger.error(f"Translation: Original message: {message} | Args: {count_args} - Placeholder: {count_placeholder}")
|
||||
return message
|
||||
|
||||
Reference in New Issue
Block a user