sainan/clippy

This package is abandoned and no longer maintained. No replacement package was suggested.

A framework for bots that take human commands.

Fund package maintenance!
Bitcoin

v0.1.10 2021-10-02 21:57 UTC

This package is auto-updated.

Last update: 2022-04-30 23:09:05 UTC


README

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: