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

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

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

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

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

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

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

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

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

        if ctx.invoked_subcommand is None:
            raise SendHelp()