/Clippy

A framework for bots that take human commands.

Primary LanguagePHPThe UnlicenseUnlicense

Clippy

A framework for bots that take human commands.

An Example

Delete the last 10 messages

will generate the equivalent of

new CommandDelete(amount: 10)

you can either implement a case for this, or just use ->getResponse(), which in this case would be:

I'm sorry, I can't do that in this embodiment. :|

You can find a list of all commands here.

Getting Started

composer require sainan/clippy

Have a look at example.php for an example on how to integrate Clippy.

Contributing

If you'd like to contribute to Clippy, there are a few ways to go about it: