Code Monkey home page Code Monkey logo

polly's People

Contributors

amhndu avatar ddivad195 avatar hhhapz avatar immjs avatar itsazaria avatar jakejmattson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

polly's Issues

support regex macros

support regex macros:
instead of having imageofanerror and what not, you can instead have a macro that is this:
image(.*)of(.*)an(.*)(error|exception)
and then maybe support macros without prefixes?

Macro cooldown

A configurable cooldown between macro invokes in the same channel

An example if cooldown is set to 5 seconds

user sends macro
2 seconds pass
user sends same macro in the same channel
bot doesn't respond but instead adds some kind of clock/alarm clock emote to the invoke

Make macros able to have aliases

Could be something like
++addmacro name1|name2|name3 category macro result
and ++name1, ++name2 and ++name3 would all respond with macro result

Adding Language api command

I'm not sure how useful this would be since it's specifically for the JavaScript channel. I thought it'd be quite helpful to refer someone directly to the MDN documentation via a command such as +search js console.log and output the URL of the first result. This could potentially be replicated to other languages too if they have a search option setup within the documentation.

MDN already has a search option and all you need to do is pass in the search query - https://developer.mozilla.org/en-US/search?q=${query}. I'm not sure how useful it'd actually be - but I'm just putting the idea out there.

Have a nice day ๐Ÿ˜€

Cowsay

Are we open to implementing cowsay? Such that messages postfixed with | cowsay will be 'piped' to cowsay just like if used traditionally?

@struggle#8219: TPH is love TPH is life | cowsay

  ____________________________________
/                                     \
|       TPH is love TPH is life       |
\                                     /
  -----------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

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.