from titanembeds.database import db

class DisabledGuilds(db.Model):
    __tablename__ = "disabled_guilds"                  # Auto increment id
    guild_id = db.Column(db.BigInteger, nullable=False, primary_key=True)            # Server id that is disabled
    
    def __init__(self, guild_id):
        self.guild_id = guild_id

def list_disabled_guilds():
    q = db.session.query(DisabledGuilds).all()
    their_ids = []
    for guild in q:
        their_ids.append(guild.guild_id)
    return their_ids
from titanembeds.database import db

class DisabledGuilds(db.Model):
    __tablename__ = "disabled_guilds"                  # Auto increment id
    guild_id = db.Column(db.BigInteger, nullable=False, primary_key=True)            # Server id that is disabled
    
    def __init__(self, guild_id):
        self.guild_id = guild_id

def list_disabled_guilds():
    q = db.session.query(DisabledGuilds).all()
    their_ids = []
    for guild in q:
        their_ids.append(str(guild.guild_id))
    return their_ids
Set disabled guild ids to string so it works again
Set disabled guild ids to string so it works again
