cogs.database: remove type param from get_time_restrictions_by_user
@@ -159,7 +159,7 @@ class DatabaseCog(commands.Cog):
async with self.bot.holder as cur:
await cur.execute('DELETE FROM timed_restrictions WHERE user_id=? AND type=?', (user_id, type))
- async def get_time_restrictions_by_user(self, userid, type):
+ async def get_time_restrictions_by_user(self, userid):
async with self.bot.holder as cur:
await cur.execute('SELECT * from timed_restrictions WHERE user_id=?', (userid,))
return await cur.fetchone()
