1
0
Fork 0
mirror of synced 2024-06-22 16:20:23 +12:00

Corrected issue where member id wasn't added to picarto entry

This commit is contained in:
phxntxm 2016-09-28 20:41:20 -05:00
parent 7e350a8202
commit e08d48f50c

View file

@ -168,7 +168,9 @@ class Picarto:
r_filter = {'member_id': ctx.message.author.id}
entry = {'picarto_url': url,
'servers': [ctx.message.server.id],
'notifications_on': 1, 'live': 0}
'notifications_on': 1,
'live': 0,
'member_id': ctx.message.author.id}
if await config.add_content('picarto', entry, r_filter):
await self.bot.say(
"I have just saved your Picarto URL {}, this server will now be notified when you go live".format(