From ed072994e664aaabcd42a454f21a1d1ec6f5673f Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Thu, 13 Oct 2016 16:20:55 -0500 Subject: [PATCH] Corrected how to enter a raffle if an ID is provided --- cogs/raffle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/raffle.py b/cogs/raffle.py index 1abce72..a7053cb 100644 --- a/cogs/raffle.py +++ b/cogs/raffle.py @@ -135,7 +135,7 @@ class Raffle: # Since we have no good thing to filter things off of, lets use the internal rethinkdb id r_filter = {'id': raffles[1]['id']} update = {'entrants': entrants} - await self.config('raffles', update, r_filter) + await config.update_content('raffles', update, r_filter) await self.bot.say("{} you have just entered the raffle!".format(author.mention)) else: fmt = "Please provide a valid raffle ID, as there are more than one setup on the server! " \