Skip to content

taylordotfish/voicebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

voicebot

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.

Adding/removing users

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, and remove-account. The syntax is the same as it is through the command-line.
  • Edit the files nicknames and accounts and restart voicebot (see the "Data files" section).

Data files

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.

What's new

Version 0.2.0

  • voicebot now works with (and requires) pyrcb2 v0.6.

Dependencies

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.

License

voicebot is licensed under version 3 or later of the GNU Affero General Public License. See LICENSE.

Releases

No releases published

Packages

No packages published

Languages