make mass_delete_user_rcon return deleted passwords
@@ -349,7 +349,7 @@ class Database(commands.Cog):
async def mass_delete_user_rcon(self, uid):
async with self.db.acquire() as con:
- await con.execute('DELETE FROM user_rcon WHERE uid = $1', uid)
+ return await con.execute('DELETE FROM user_rcon WHERE uid = $1 RETURNING *', uid)
def setup(bot):
