the-programmers-hangout / polly Goto Github PK
View Code? Open in Web Editor NEWA discord bot with the sole purpose of implementing macros
License: MIT License
A discord bot with the sole purpose of implementing macros
License: MIT License
Could be something like
++addmacro name1|name2|name3 category macro result
and ++name1
, ++name2
and ++name3
would all respond with macro result
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?
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
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 ๐
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 |
|| ||
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.