added ability to change banlist file

This commit is contained in:
2025-08-15 00:27:32 +03:00
parent 4c8f908f18
commit 36a76c4af7
3 changed files with 3 additions and 2 deletions

View File

@@ -13,5 +13,5 @@ def get_create_time(path: str, format: str="%a %b %e %H:%M:%S %Z %Y") -> str:
return create_datetime.strftime(format)
def get_banlist() -> list:
def get_banlist(path: str) -> list:
return list(set(open("banlist.lol").readlines()))