Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Allow changing bot avatar #309

Merged
merged 1 commit into from
Jan 21, 2022
Merged

Allow changing bot avatar #309

merged 1 commit into from
Jan 21, 2022

Conversation

lewark
Copy link
Contributor

@lewark lewark commented Jan 21, 2022

This PR adds an avatar option to the config file. The option specifies the path to an image that the bot will use as its avatar on the Mumble server.

Note: The comment added to the example config points out a limit of 128 KB for the avatar image, but I think this limit is adjustable using the imagemessagelength option in the Murmur configuration. I'm also not completely sure which file formats are supported by Mumble, but PNG seems to work.

Additionally, this setting is currently completely independent from the image shown on the Flask web interface. If a user wanted to change that image then I assume they would need to replace the appropriate file under /static/image.

@TerryGeng
Copy link
Collaborator

Thanks for your PR! Yeah, I can foresee avatar being a more useful feature in the near future. I think the Mumble team is thinking about redoing the chat system.

@TerryGeng TerryGeng merged commit 508811c into azlux:master Jan 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants