From c782ad8727c64b848267110fc3338a6f567839bc Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sun, 23 Jul 2017 14:59:23 -0500 Subject: [PATCH] Don't use defunct id --- cogs/raffle.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/cogs/raffle.py b/cogs/raffle.py index 5eb0f75..9cb59e0 100644 --- a/cogs/raffle.py +++ b/cogs/raffle.py @@ -38,11 +38,9 @@ class Raffle: for r in raffle['raffles']: title = r['title'] entrants = r['entrants'] - raffle_id = r['id'] # Check to see if this cog can find the server in question if server is None: - await self.bot.db.query(r.table('raffles').get(raffle_id).delete()) continue now = pendulum.utcnow()