mirror of
https://github.com/house-of-vanity/conf_bot.git
synced 2025-07-06 14:24:08 +00:00
Fix @here func. Now uses id instead of username.
This commit is contained in:
@ -161,7 +161,7 @@ class DataBase:
|
||||
|
||||
def here(self, user_id, conf_id):
|
||||
sql = """
|
||||
SELECT DISTINCT(u.username) FROM relations r
|
||||
SELECT DISTINCT(u.username), u.id, u.first_name FROM relations r
|
||||
LEFT JOIN user u
|
||||
ON u.id = r.user_id
|
||||
LEFT JOIN conf c
|
||||
|
Reference in New Issue
Block a user