Exemplo n.º 1
0
    async def filter_channel(self, ctx):
        """
        Allows managing the local channel filter.
        """

        if ctx.subcommand_passed in ("chan", "ch", "c"):
            raise SendHelp()
Exemplo n.º 2
0
    async def filter_immunity(self, ctx):
        """
        Maintaining the list of special user immunities to the filter.
        """

        if ctx.subcommand_passed in ("immune", "imm", "ignore", "ign"):
            raise SendHelp()
Exemplo n.º 3
0
    async def filter_guild(self, ctx):
        """
        Allows managing the server-wide filter.
        """

        if ctx.subcommand_passed in ("server", "srv", "s", "guild", "g"):
            raise SendHelp()
Exemplo n.º 4
0
    async def filter_channel(self, ctx):
        """
        Allows managing the local channel filter.
        """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemplo n.º 5
0
    async def ffilter(self, ctx):
        """
        Adds, removes, or lists SHA1 hashes in the content filter.
        """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemplo n.º 6
0
    async def filter_guild(self, ctx):
        """
        Allows managing the server-wide filter.
        """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemplo n.º 7
0
    async def filter_immunity(self, ctx):
        """
        Maintaining the list of special user immunities to the filter.
        """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemplo n.º 8
0
    async def filter(self, ctx):
        """
        Adds, removes, or lists words in the text filter.
        It ignores case and checks for unicode strings that look similar.
        """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemplo n.º 9
0
    async def role(self, ctx):
        """ Manages self-assignable roles for this guild. """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemplo n.º 10
0
    async def alert(self, ctx):
        """ Manages the welcome cog for managing new users and roles. """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemplo n.º 11
0
    async def alts(self, ctx):
        """ Manages the list of suspected alternate accounts. """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemplo n.º 12
0
    async def tracker_blacklist(self, ctx):
        """ Manages tracker blacklist entries for this guild. """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemplo n.º 13
0
    async def reapply(self, ctx):
        """ Manages settings related to automatic role reapplication. """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemplo n.º 14
0
    async def log(self, ctx):
        """ Configure channel output for bot journal events. """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemplo n.º 15
0
    async def log_dm(self, ctx):
        """ Configure direct messages for bot journal events. """

        if ctx.invoked_subcommand is None:
            raise SendHelp()