Initial command structure for bot

This commit is contained in:
Jeremy Zhang
2017-05-20 07:50:29 +00:00
parent 3ed1375475
commit b7b4187094
3 changed files with 25 additions and 1 deletions

View File

@ -293,3 +293,9 @@ class DatabaseInterface(object):
db.session.add(dbusr)
if changed:
session.commit()
async def ban_unauth_user_by_query(self, query):
async with threadpool():
with self.get_session() as session:
pass
#dbusr = session.query()