1
0
Fork 0
mirror of synced 2024-06-11 23:24:33 +12:00

Corrected how to enter a raffle if an ID is provided

This commit is contained in:
Phxntxm 2016-10-13 16:20:55 -05:00
parent 3cc1fa6d34
commit ed072994e6

View file

@ -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! " \