2018-07-10 09:04:19 +02:00
|
|
|
from titanembeds.database import db
|
2017-05-27 04:00:50 +02:00
|
|
|
import datetime
|
|
|
|
import time
|
|
|
|
|
2018-07-10 09:04:19 +02:00
|
|
|
class UnauthenticatedBans(db.Model):
|
2017-05-27 04:00:50 +02:00
|
|
|
__tablename__ = "unauthenticated_bans"
|
|
|
|
id = db.Column(db.Integer, primary_key=True) # Auto increment id
|
|
|
|
guild_id = db.Column(db.String(255)) # Guild pretaining to the unauthenticated user
|
|
|
|
ip_address = db.Column(db.String(255)) # The IP Address of the user
|
|
|
|
last_username = db.Column(db.String(255)) # The username when they got banned
|
|
|
|
last_discriminator = db.Column(db.Integer) # The discrim when they got banned
|
|
|
|
timestamp = db.Column(db.TIMESTAMP) # The timestamp of when the user got banned
|
|
|
|
reason = db.Column(db.Text()) # The reason of the ban set by the guild moderators
|
2018-01-23 22:08:55 +01:00
|
|
|
lifter_id = db.Column(db.BigInteger) # Discord Client ID of the user who lifted the ban
|
2018-07-10 09:04:19 +02:00
|
|
|
placer_id = db.Column(db.BigInteger) # The id of who placed the ban
|