A chummy soundboard bot client for Mumble.
Project description
Chumbot
The Conveying Harmonies Unto Mumble Bot, or Chumbot, is a Mumble soundboard and notification bot
written in Python 3. Chumbot relies on the PYMUMBLE API,
which requires the opuslib
and protobuf
Python libraries as well as libopus
being available
on the host machine.
Chumbot is currently not supported on Windows.
Installation
For users
The Chumbot client can be installed via pip:
pip install chumbot
For developers
Chumbot can be installed for development by first installing Poetry and running the following command within the project directory:
poetry install
Usage
Chumbot is run from the command line. Audio clips should be stored in mp3 format.
usage: chumbot [-h] [-u USERNAME] [-H HOST] [-P PORT] [-p PASSWORD] [-d]
Chumbot command-line interface
options:
-h, --help show this help message and exit
-u USERNAME, --username USERNAME
specify Chumbot's username
-H HOST, --host HOST specify the Mumble host address
-P PORT, --port PORT specify the Mumble host port
-p PASSWORD, --password PASSWORD
specify the Mumble host password
-d, --debug enable debug message printing
Configuration
Chumbot configuration is stored in ~/.config/chumbot.ini
. Chumbot must be configured to know where
audio files are stored.
Chumbot can be configured to play a specific clip when a link or image is posted or when a user joins or leaves a channel. It can even be configured to play a personalized 'join' or 'disconnect' sound for each user.
An example chumbot.ini
:
[mumble]
Username = chumbot
Host = example.murmur.nfoservers.com
Port = 2112
Password = 1234
[clips]
ClipDir = ~/chumbot-clips
LinkPostedClipName = link_clip
UserJoinedClipName = default_join_clip
UserLeftClipName = default_leave_clip
[join]
user1 = join_clip1
user2 = join_clip2
user3 = join_clip3
[disconnect]
user1 = disconnect_clip1
user2 = disconnect_clip2
user3 = disconnect_clip3
Contributing
Contributions are taken and any pull requests will be reviewed by me (eventually).
Please attempt to adhere to the coding practices in .pylintrc
. Ensure no pylint
warnings are generated before creating a PR.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file chumbot-0.7.3.tar.gz
.
File metadata
- Download URL: chumbot-0.7.3.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.8.13 Linux/5.10.194-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80c224b0bba471077b456673bf87ff3ec9fb786159b7b8e56d7cb6ea5a2a9ed3 |
|
MD5 | c998338ac963f16d802d488b543a9cae |
|
BLAKE2b-256 | 9b57f8c116ec2edbc6f25dabf6cf48ef1a4b65295fe2d5a41a8bebd23b8d67c8 |
File details
Details for the file chumbot-0.7.3-py3-none-any.whl
.
File metadata
- Download URL: chumbot-0.7.3-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.8.13 Linux/5.10.194-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b6537620f99c03a775006f09ffd2b6d08b8c28be905d58b78b231b24cd09c4f |
|
MD5 | e61a239ed7481ac3dbeddca20dd0c1d2 |
|
BLAKE2b-256 | d36b18db6a12a2fdbb527e701a98f5007e7f4ae82ad1700480b275ffd3eb0184 |