Added stubs for custom channel, custom role and wallet

This commit is contained in:
Profitroll 2025-02-16 22:36:18 +01:00
parent 222a618591
commit 654034491a
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2
3 changed files with 44 additions and 0 deletions

15
classes/custom_channel.py Normal file
View File

@ -0,0 +1,15 @@
from dataclasses import dataclass
from datetime import datetime
from bson import ObjectId
@dataclass
class CustomChannel:
_id: ObjectId
channel_id: int
owner_id: int
allow_comments: bool
allow_reactions: bool
created: datetime
deleted: datetime | None

14
classes/custom_role.py Normal file
View File

@ -0,0 +1,14 @@
from dataclasses import dataclass
from datetime import datetime
from bson import ObjectId
@dataclass
class CustomRole:
_id: ObjectId
role_id: int
role_color: int
owner_id: int
created: datetime
deleted: datetime | None

15
classes/wallet.py Normal file
View File

@ -0,0 +1,15 @@
from dataclasses import dataclass
from datetime import datetime
from bson import ObjectId
@dataclass
class Wallet:
_id: ObjectId
id: int
balance: float
owner_id: int
guild_id: int
is_frozen: bool
created: datetime