mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 14:37:02 +01:00
db session?
This commit is contained in:
parent
7ad4f20bc0
commit
95b2426b35
@ -82,7 +82,7 @@ def check_guild_existance(guild_id):
|
||||
|
||||
@timeit
|
||||
def guild_accepts_visitors(guild_id):
|
||||
dbGuild = Guilds.query.filter_by(guild_id=guild_id).first()
|
||||
dbGuild = db.session.query(Guilds).filter(Guilds.guild_id==guild_id).first()
|
||||
return dbGuild.visitor_view
|
||||
|
||||
def guild_query_unauth_users_bool(guild_id):
|
||||
|
Loading…
Reference in New Issue
Block a user