Corrected issue where member id wasn't added to picarto entry
This commit is contained in:
parent
7e350a8202
commit
e08d48f50c
1 changed files with 3 additions and 1 deletions
|
@ -168,7 +168,9 @@ class Picarto:
|
||||||
r_filter = {'member_id': ctx.message.author.id}
|
r_filter = {'member_id': ctx.message.author.id}
|
||||||
entry = {'picarto_url': url,
|
entry = {'picarto_url': url,
|
||||||
'servers': [ctx.message.server.id],
|
'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):
|
if await config.add_content('picarto', entry, r_filter):
|
||||||
await self.bot.say(
|
await self.bot.say(
|
||||||
"I have just saved your Picarto URL {}, this server will now be notified when you go live".format(
|
"I have just saved your Picarto URL {}, this server will now be notified when you go live".format(
|
||||||
|
|
Loading…
Reference in a new issue