1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Use actual_load

This commit is contained in:
phxntxm 2017-06-12 02:10:01 -05:00
parent 9604d5a4ea
commit dc08406739

View file

@ -42,7 +42,7 @@ class Picarto:
try:
while not self.bot.is_closed():
await self.get_online_users()
picarto = self.bot.db.load('picarto', table_filter={'notifications_on': 1})
picarto = await self.bot.db.actual_load('picarto', table_filter={'notifications_on': 1})
for data in picarto:
m_id = int(data['member_id'])
url = data['picarto_url']