#missing 1 required positional argument: 'ctx'
1 messages · Page 1 of 1 (latest)
Hey! Once your issue is solved, press the button below to close this thread!
Actually the function causing the error is this:
async def sei_pit(self, ctx: BaseContext):
return ctx.author_id in [ List of ids ]```
BaseContext causing issues?
Hmm it works only if I remove "self", I don't really know whether it's intended
Can you copy and paste the full code here?
By assuming it is a normal check function just remove the self and it will work
Indeed, it works when I remove it
It's this function right after the class declaration, I can't share the full thing as it's long
The function itself is the full one (beside the fact I didn't paste the list there)