sylae / huntress

Multipurpose discord bot
MIT License
4 stars 6 forks source link

Huntress

Huntress is a PHP discord bot framework. Note that while it's currently very usable, things are subject to change.

Requirements

Installation

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

Usage

  1. copy config.sample.php to config.php, edit as needed.
  2. Check out bot.php for an example of how to get it running.
  3. To add your own functionality, write a class implementing \Huntress\PluginInterface and make sure it gets loaded.

Examples

Check out the keira branch for examples in the wild: