WIP: Wallets, added missing changes

This commit is contained in:
Profitroll 2025-02-18 20:19:09 +01:00
parent 8883c8eda8
commit f3bb1ff79a
4 changed files with 3 additions and 5 deletions

View File

@ -1 +1,2 @@
from .pycord_user import UserNotFoundError
from .wallet import WalletNotFoundError

View File

@ -4,6 +4,4 @@ class UserNotFoundError(Exception):
def __init__(self, user_id: int) -> None:
self.user_id = user_id
super().__init__(
f"User with id {self.user_id} was not found"
)
super().__init__(f"User with id {self.user_id} was not found")

View File

@ -7,7 +7,6 @@ from libbot.pycord.classes import PycordBot as LibPycordBot
from classes import PycordUser
# from modules.tracking.dhl import update_tracks_dhl

View File

@ -7,9 +7,9 @@ from bson import ObjectId
from libbot.cache.classes import Cache
from pymongo.results import InsertOneResult
from classes import Wallet
from classes.errors.pycord_user import UserNotFoundError
from modules.database import col_users
from classes import Wallet
logger: Logger = logging.getLogger(__name__)