Implement voiceloger

This commit is contained in:
2025-10-24 18:53:34 +10:00
parent d5cab05bb6
commit 175e96c7e2
6 changed files with 171 additions and 0 deletions

16
plugin/data.py Normal file
View File

@@ -0,0 +1,16 @@
from data import Registry, RowModel, Table
from data.columns import String, Timestamp, Integer, Bool
class VoiceLogGuild(RowModel):
_tablename_ = "voicelog_guilds"
_cache_ = {}
guildid = Integer(primary=True)
webhook_url = String()
created_at = Timestamp()
_timestamp = Timestamp()
class VoiceLogData(Registry):
voicelog_guilds = VoiceLogGuild.table