Update Votekick first part comment

This commit is contained in:
adator85
2025-08-16 02:27:03 +02:00
parent 3fc49e9069
commit f5212deacf
2 changed files with 22 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
'''
from threading import Timer, Thread, RLock
from socket import socket
from typing import Any
from typing import Any, Optional
class Settings:
"""This Class will never be reloaded.
@@ -37,7 +37,7 @@ class Settings:
"""
self.__CACHE[key] = value_to_cache
def get_cache(self, key) -> Any:
def get_cache(self, key) -> Optional[Any]:
"""It returns the value associated to the key and finally it removes the entry"""
if self.__CACHE.get(key):
return self.__CACHE.pop(key)