import tortoise from tortoise import fields class WarnsModel(tortoise.Model): id = fields.BigIntField(pk=True) server_id = fields.BigIntField() user_id = fields.BigIntField() reason = fields.TextField(max_length=255) created_at = fields.DatetimeField() class Meta: table = "warns" def __str__(self): return f"" __repr__ = __str__