(Moderation): New module and core system.
Incomplete commit! Core ticket-based moderation system, with data.
This commit is contained in:
18
bot/modules/moderation/data.py
Normal file
18
bot/modules/moderation/data.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from data import Table, RowTable
|
||||
|
||||
|
||||
video_channels = Table('video_channels')
|
||||
studyban_durations = Table('studyban_durations')
|
||||
|
||||
ticket_info = RowTable(
|
||||
'ticket_info',
|
||||
('ticketid', 'guild_ticketid',
|
||||
'guildid', 'targetid', 'ticket_type', 'moderator_id', 'auto',
|
||||
'log_msg_id', 'created_at',
|
||||
'content', 'context', 'duration'
|
||||
'expiry',
|
||||
'pardoned', 'pardoned_by', 'pardoned_at', 'pardoned_reason'),
|
||||
'ticketid',
|
||||
)
|
||||
|
||||
tickets = Table('tickets')
|
||||
Reference in New Issue
Block a user