Exemple #1
0
    async def filter_channel(self, ctx):
        """
        Allows managing the local channel filter.
        """

        if ctx.subcommand_passed in ("chan", "ch", "c"):
            raise SendHelp()
Exemple #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()
Exemple #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()
Exemple #4
0
    async def filter_channel(self, ctx):
        """
        Allows managing the local channel filter.
        """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemple #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()
Exemple #6
0
    async def filter_guild(self, ctx):
        """
        Allows managing the server-wide filter.
        """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemple #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()
Exemple #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()
Exemple #9
0
    async def role(self, ctx):
        """ Manages self-assignable roles for this guild. """

        if ctx.invoked_subcommand is None:
            raise SendHelp()
Exemple #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()
Exemple #11
0
    async def alts(self, ctx):
        """ Manages the list of suspected alternate accounts. """

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

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

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

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

        if ctx.invoked_subcommand is None:
            raise SendHelp()