jackellenberger / emojme-hubot-plugin Goto Github PK
View Code? Open in Web Editor NEWA plugin to use emojme to do very stupid things automatically via hubot.
A plugin to use emojme to do very stupid things automatically via hubot.
idk seems like they're not
Commands
hubot how old is the cache?
hubot refresh with my super secret token that I won't share in public channels <token>
hubot add emoji <name> <url>
hubot alias <original> to <alias>
hubot who made <emoji>
Features
here's what I have, but i haven't been updated in <age>
I don't know that emoji, but try refreshing my cache if you know it exists
Design
External requirements
https://github.com/jackellenberger/emojme-hubot-plugin/blob/master/src/emojme-script.coffee#L69 here is borken. We need to not capture the "with metadata" part.
emojme add this to slack as :emoji:
with an attachment should work
emojme add <url> to slack as :emoji:
should work
emojme add this to slack as :emoji:
as a threaded reply to an image should work
Slack still doesn't let you react with aliases, it just presents the "root" emoji, so emojme alias
is less useful than it could be.
emojme clone :existing-emoji: as|to :new-emoji:
to create a new emoji with the same source.Maybe it's a bad idea, but what if you could run any emojme function from hubot through the cli? could work ๐คทโโ
we're caching tokens now (:yay: (but also :ohno:)) but you still need to find a new one like every morning because they expire after 24 hours. Tokens can live longer than 24 hours (and there's a new expire-this-token endpoint(!) so i feel less bad about storing them) so we should re up the TTL of the token on each usage. If someone refreshes the cache every morning, they should be able to use the same cached token until it expires.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.