17 lines
383 B
Python
17 lines
383 B
Python
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
|