remove all temporary print statements
This commit is contained in:
parent
a95d32fbcc
commit
d950c458ef
3 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue