1
0
Fork 0
mirror of synced 2024-06-23 08:40:41 +12:00

remove all temporary print statements

This commit is contained in:
phxntxm 2019-01-29 00:21:00 -06:00
parent a95d32fbcc
commit d950c458ef
3 changed files with 0 additions and 4 deletions

View file

@ -146,7 +146,6 @@ SET
WHERE
id IN ({", ".join(f"'{bd}'" for bd in update_bds)})
"""
print(query)
await self.bot.db.execute(query)
@commands.group(aliases=['birthdays'], invoke_without_command=True)

View file

@ -291,7 +291,6 @@ WHERE id = any($2)
old_winner["battle_rating"] if old_winner else 1000,
old_loser["battle_rating"] if old_loser else 1000,
)
print(old_winner, old_loser)
update_query = """
UPDATE
@ -331,7 +330,6 @@ VALUES
await self.bot.db.execute(insert_query, winner.id, winner_rating, 1, 0)
results = await self.bot.db.fetch(query, member_list, [winner.id, loser.id])
print(results)
new_winner_rank = new_loser_rank = None
for result in results:

View file

@ -124,5 +124,4 @@ class DB:
keys += k
values += f"${num}"
query = f"INSERT INTO {table} ({keys}) VALUES ({values}) ON CONFLICT DO UPDATE"
print(query)
return await self.execute(query, *data.values())