Implement voiceloger
This commit is contained in:
16
plugin/data.py
Normal file
16
plugin/data.py
Normal 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
|
||||
Reference in New Issue
Block a user