9 lines
342 B
Python
9 lines
342 B
Python
class UserNotFoundError(Exception):
|
|
"""PycordUser could not find user with such an ID in the database"""
|
|
|
|
def __init__(self, user_id: int, guild_id: int) -> None:
|
|
self.user_id: int = user_id
|
|
self.guild_id: int = guild_id
|
|
|
|
super().__init__(f"User with id {self.user_id} was not found in guild {self.guild_id}")
|