@classmethod
def same_context(cls, ctx: Optional[commands.Context]=None, channel: Optional[discord.TextChannel]=None, user: Optional[discord.abc.User]=None) -> 'MessagePredicate':
    if (ctx is not None):
        channel = (channel or ctx.channel)
        user = (user or ctx.author)
    return cls((lambda self, m: (((user is None) or (user.id == m.author.id)) and ((channel is None) or (channel.id == m.channel.id)))))
@classmethod
def same_context(cls, ctx: Optional[commands.Context]=None, channel: Optional[discord.TextChannel]=None, user: Optional[discord.abc.User]=None) -> 'MessagePredicate':
    if (ctx is not None):
        channel = (channel or ctx.channel)
        user = (user or ctx.author)
    return cls((lambda self, m: (((user is None) or (user.id == m.author.id)) and ((channel is None) or (channel.id == m.channel.id)))))