prefix caching + working database functions!

This commit is contained in:
Emily 2020-10-17 23:03:39 +11:00
parent 6d9d453df3
commit c69d2f562d
3 changed files with 49 additions and 48 deletions

View file

@ -27,7 +27,7 @@ class Database {
}
async getUser (id) {
const res = await this.pool.query('SELECT * FROM guilds WHERE user_id = $1;', [id]);
const res = await this.pool.query('SELECT * FROM users WHERE user_id = $1;', [id]);
return res.rows[0];
}