Open shwippity opened 8 years ago
Looks like it's not currently possible via the api https://github.com/slackhq/slack-api-docs/issues/28
However we could hook something up similar to https://github.com/smashwilson/slack-emojinator (from the slack api issue).
I'm not entirely sure if this is possible, but an easy way for a user to submit an image and have it converted to an emoji matrix.
example 1. (simple image to emoji)
would create an emoji called
:apple:
using the image at the link or return an error if the name is already used or the link is incorrect.example 2. (image to emoji matrix)
because emoji in slack are seamless we can create a matrix of emoji like so
would create four emojis named
or return an error
example 3. (retreiving stored emoji matrices)
when an emoji matrix is created you can either manually call it by typing
or it could be set up so we can simply write
and it would output it for us or return an error
The syntax doesn't have to be exactly like I've written here but this should be enough for you to get the gist of the idea and how it could scale.
Any questions let me know,
Cheers, J