Huntress is a PHP discord bot framework. Note that while it's currently very usable, things are subject to change.
Add the following nonsense to your composer.json
{
"minimum-stability": "dev",
"require": {
"sylae/huntress": "dev-master"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/sylae/huntress"
}
]
}
Note that Huntress isn't in packagist rn because it's spiced ass and I don't want some jabroni thinking this is mature code
\Huntress\PluginInterface
and make sure it gets loaded.Check out the keira
branch for examples in the wild:
/src/Huntress/Plugin/Identity.php
) changes the bot avatar daily, along with cycling through status messages/src/Huntress/Plugin/Snowflake.php
) is a simple command, generates a custom Snowflake for low-volume ID purposes/src/Huntress/Plugin/RythmDJ.php
) will automatically add a role with a particular name, due to a certain unnamed music bot not letting you give @everyone DJ permissions/src/Huntress/Plugin/Role.php
) is a self-service role request plugin, featuring automatic inheritance as a treat