Git Product home page Git Product logo

emojme-hubot-plugin's People

Contributors

jackellenberger avatar kjperry avatar yhprum avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

emojme-hubot-plugin's Issues

double enhance improvements

  • reply to thread, not channel
  • add more permissive regex
  • adjustable size
  • [/] see if sharp has some sharpening features
  • cleanup files post-posting when they are no longer needed

Basic Functionality

  • 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>
      • this might be interesting
    • hubot alias <original> to <alias>
    • hubot who made <emoji>
  • Features

    • shared auth? :uhh: seems like a bad idea
    • reply with cache age here's what I have, but i haven't been updated in <age>
    • retry commands I don't know that emoji, but try refreshing my cache if you know it exists
    • tell users to delete their user token if posted in a public channel
  • Design

    • keep build outputs in brain
  • External requirements

    • emojme
      • save build results elsewhere?
      • set limits on download cache size? (maybe this should be handled by the bot)

"add" functionality

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

add emoji clone functionality

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.

  • add emojme clone :existing-emoji: as|to :new-emoji: to create a new emoji with the same source.

emojme exec functionality

Maybe it's a bad idea, but what if you could run any emojme function from hubot through the cli? could work ๐Ÿคทโ€โ™‚

refresh token timer on usage

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.