The "botmode" Module (v4)

Description

This module adds user mode B (bot) which marks users with it set as bots. See the IRCv3 Bot Mode specification for details.

Depending on your module-specific configuration this can also prevents a bot from using non-bot aliases (requires the alias module) and from receiving channel history on join (requires the chanhistory module).

Configuration

To load this module use the following <module> tag:

<module name="botmode">

<botmode>

The <botmode> tag defines settings about how the botmode module should behave. This tag can only be defined once.

Name Type Default Value Description
extban Boolean No New in v4.11.0! Whether to enable extended ban B: (bot).
forcenotice Boolean No Whether to force bots to use notices.
Example Usage
<botmode extban="yes"
         forcenotice="no">

User Modes

Name Character Type Parameter Syntax Usable By Description
bot B Switch None Anyone Marks the user as a bot.

Extended Bans

Name Character Type Ban Syntax Description
bot B Matching [!]bot:<pattern> Checks whether users matching <pattern> are bots.

Example Usage

Bans bots matching *!*@annoying.host from joining the channel.:

/MODE #channel +b bot:*!*@annoying.host