(tasklist): Pass context to factory.

This commit is contained in:
2022-05-11 22:04:43 +03:00
parent adbeeaa523
commit 3fbc3b1fcb
2 changed files with 3 additions and 3 deletions

View File

@@ -121,7 +121,7 @@ class Tasklist:
self.active[(member.id, channel.id)] = self
@classmethod
def fetch_or_create(cls, member, channel):
def fetch_or_create(cls, ctx, flags, member, channel):
tasklist = cls.active.get((member.id, channel.id), None)
return tasklist if tasklist is not None else cls(member, channel)