Version 0.2.0
voicebot automatically voices and devoices users in an IRC channel based on activity. Users can see who's been active recently simply by looking at which users are voiced.
See ./voicebot.py --help
for information on running voicebot.
Users need to be in voicebot's lists of nicknames or NickServ accounts to be voiced when active. There are multiple ways to add users:
- Send commands to voicebot through the command-line while it's running. Type "help" to see a list of commands.
- Send commands to voicebot through IRC. If you're a channel operator and
present in the channel, you can send "<nickname-of-voicebot>: <command>"
in the channel, or message voicebot directly with "<command>". Allowed
commands are
add-nickname
,add-account
,remove-nickname
, andremove-account
. The syntax is the same as it is through the command-line. - Edit the files
nicknames
andaccounts
and restart voicebot (see the "Data files" section).
voicebot stores data in a number of files (in the same directory as the executable):
nicknames
contains a list of nicknames that will be managed. Users with these nicknames will be voiced when active.accounts
contains a list of NickServ accounts that will be managed. Users logged into these accounts will be voiced when active.voicebot-data
stores how recently users have been active.
Version 0.2.0
- voicebot now works with (and requires) pyrcb2 v0.6.
- Python ≥ 3.7
- Python package: pyrcb2
- Python package: aioconsole
- Python package: docopt
Run pip3 install -r requirements.txt
to install the Python packages. You
can also use requirements.freeze.txt
instead to install specific versions
of the dependencies that have been verified to work.
voicebot is licensed under version 3 or later of the GNU Affero General Public License. See LICENSE.