Update Votekick module! following the same structure as other modules

This commit is contained in:
adator85
2025-08-16 02:11:21 +02:00
parent e075b7b8d5
commit 3fc49e9069
5 changed files with 121 additions and 4 deletions

11
mods/votekick/schemas.py Normal file
View File

@@ -0,0 +1,11 @@
from typing import Optional
from core.definition import MainModel, dataclass, field
@dataclass
class VoteChannelModel(MainModel):
channel_name: Optional[str] = None
target_user: Optional[str] = None
voter_users: list = field(default_factory=list)
vote_for: int = 0
vote_against: int = 0