mirror of
https://github.com/neoarz/Syntrel.git
synced 2025-12-25 11:40:12 +01:00
Removed template copyright headers from moderation cogs and database files. Improved embed styling and consistency in purge and warnings commands, including unified colors, author fields, and permission checks. Added a helper for sending embeds in warnings cog and replaced decorator-based permission checks with manual checks for better feedback. Updated comments in database files.
11 lines
412 B
SQL
11 lines
412 B
SQL
-- Copyright © Krypton 2019-Present - https://github.com/kkrypt0nn/Python-Discord-Bot-Template/blob/main/database/schema.sql
|
|
-- Used by neoarz
|
|
|
|
CREATE TABLE IF NOT EXISTS `warns` (
|
|
`id` int(11) NOT NULL,
|
|
`user_id` varchar(20) NOT NULL,
|
|
`server_id` varchar(20) NOT NULL,
|
|
`moderator_id` varchar(20) NOT NULL,
|
|
`reason` varchar(255) NOT NULL,
|
|
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
|
|
); |