mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-27 15:37:03 +01:00
13 lines
561 B
Python
13 lines
561 B
Python
from titanembeds.database import db
|
|
import datetime
|
|
import time
|
|
|
|
class AuthenticatedUsers(db.Model):
|
|
__tablename__ = "authenticated_users"
|
|
id = db.Column(db.Integer, primary_key=True) # Auto increment id
|
|
guild_id = db.Column(db.BigInteger, nullable=False) # Guild pretaining to the authenticated user
|
|
client_id = db.Column(db.BigInteger, nullable=False) # Client ID of the authenticated user
|
|
|
|
def __init__(self, guild_id, client_id):
|
|
self.guild_id = guild_id
|
|
self.client_id = client_id |