Skip to content
Snippets Groups Projects
Commit 444537ad authored by dasPolygon's avatar dasPolygon
Browse files

version bump; readme

parent b09b9eb1
No related branches found
No related tags found
No related merge requests found
[package]
name = "matrix_emote_upload"
version = "0.1.0"
name = "emowoji_bot"
version = "1.0.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
......
# emowoji-bot
a not yet fully functional matrix bot that will upload image files from the emotes/ directory to a matrix homeserver and create a custom m.image_pack event to make it available as custom emoji/stickerpack.
We want to add a LARGE amount of emotes to a room, and the clients we've tried to use just all crashed,
the way we wrote this script, we get a `Failed to process emoji pack: the server returned an error: [413 / M_TOO_LARGE] M_TOO_LARGE: Message is too long` - too eepy to debug as of writing this.
\ No newline at end of file
A smol (somewhat shitty) matrix bot meant to add a huuge amount of custom emotes to a room.
Usage:
* start like ./emowojí_bot <homeserver-url> <username> <password>
* invite the bot to a room
* type `!add <desired_image_pack_name>`
* let it to its thing
It worked on our conduit server and nheko as a client when adding a smol amount of emotes,
but when we tried to process hundreds of megabyte's we quickly ran into spec limitations due to the max message length being 64kB or something,
so for this to work the events need to be split up in some way - from what we can see now resulting in having a bunch of image packs in the end.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment