mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 19:35:24 +02:00
Implement Cosmetics Configuration to the Administrators Panel
This commit is contained in:
@ -7,8 +7,9 @@ class Cosmetics(db.Model):
|
||||
css = db.Column(db.Boolean(), nullable=False) # If they can create/edit custom CSS
|
||||
|
||||
def __init__(self, user_id, **kwargs):
|
||||
self.name = name
|
||||
self.user_id = user_id
|
||||
|
||||
if "css" in kwargs:
|
||||
self.css = kwargs["css"]
|
||||
else:
|
||||
self.css = False
|
||||
|
Reference in New Issue
Block a user