sainan / clippy Goto Github PK
View Code? Open in Web Editor NEWA framework for bots that take human commands.
Home Page: https://clippy.chat
License: The Unlicense
A framework for bots that take human commands.
Home Page: https://clippy.chat
License: The Unlicense
e.g.
What's 1 metre in freedom units?
because it's funny... and not too trival
e.g.
1g in metric tons
results in
1 gram is about equal to 0.000 metric tons. :)
which is not very helpful
Currently,
1g in kilos
results in
I'm sorry, I don't understand. :/
whereas
1g in kilograms
works just fine; resulting in
1 gram is about equal to 0.001 kilograms. :)
Something to integrate these responses with the localisation system: https://github.com/Sainan/php-discord-bot/blob/master/plugins/Clippy.php#L22-L33
including selected locale so that it can be saved and restored at any point e.g. on a per-user basis.
Possible answer: "I take your commands and engage in basic conversations. :)"
Some response when people call Clippy a "retard" or other such things ๐ข
Two CommandImplementable
s with an arbitrary "user clue" for muting said user permanently or temporarily.
15Dkatz's joke API seems like a decent starting point for this but it seems unmaintained now, and the JSON storage format is very inefficient, so I guess a reboot will be needed, scraping the existing data, plus what is in unmerged PRs.
Currently,
1.0g in kilograms
results in
I'm sorry, I don't understand. :/
whereas
1g in kilograms
works just fine; resulting in
1 gram is about equal to 0.001 kilograms. :)
Could be tied to some optional config entry.
A CommandImplementable
that takes an arbitrary amount of time (also maybe an arbitrary "purpose" string?). Related to #10 since arbitrary time input is needed there as well.
like "2 + 2 = ?" or just "2+2"
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.