PHPackages                             knik/botman-driver-discord - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. knik/botman-driver-discord

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

knik/botman-driver-discord
==========================

A discord driver for botman

1.2.0(5y ago)03proprietaryPHPPHP &gt;=7.1

Since Mar 23Pushed 5y agoCompare

[ Source](https://github.com/et-nik/botman-driver-discord)[ Packagist](https://packagist.org/packages/knik/botman-driver-discord)[ RSS](/packages/knik-botman-driver-discord/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (6)Used By (0)

botman-driver-discord
=====================

[](#botman-driver-discord)

Getting Started
---------------

[](#getting-started)

Require the driver into your botman project `composer require knik/botman-driver-discord`

Example

```
$config = [
    'discord' =>[
        'token' => "your token",
        'options' => [
            'disableClones' => true,
            'disableEveryone' => true,
            'fetchAllMembers' => false,
            'messageCache' => true,
            'messageCacheLifetime' => 600,
            'messageSweepInterval' => 600,
            'presenceCache' => false,
            'userSweepInterval' => 600,
            'ws.disabledEvents' => [],
        ],
    ],
];

// Load the driver(s) you want to use
DriverManager::loadDriver(\JABirchall\BotMan\Drivers\Discord\DiscordDriver::class);
$loop = Factory::create();
$botman = BotManFactory::createForDiscord($config, $loop);

// Give the bot something to listen for.
$botman->hears('hello', function (BotMan $bot) {
    $bot->reply('Hello yourself.');
});

// start a convosation
$botman->hears('How are you', function (BotMan $bot) {
    $bot->ask("I'm a bot I have no feelings, How about you?", function (Answer $answer) use ($bot) {
        $bot->reply("Thats great, you said: ". $answer->getText());
    });
});

// Start listening
$botman->listen();
$loop->run();
```

Prerequisities
--------------

[](#prerequisities)

- Botman 2.\*
- PHP version 7.1+
- mbstring
- A discord bot token

Contributing
------------

[](#contributing)

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

Authors
-------

[](#authors)

- **JABirchall** - *Maintainer*

See also the list of [contributors](https://github.com/JABirchall/NimdaDiscord/graphs/contributors) who participated in this project.

License
-------

[](#license)

This project is licensed under GNU AGPLv3 License - see the [LICENSE](LICENSE) file for details

Acknowledgments
---------------

[](#acknowledgments)

- [CharlotteDunois](https://github.com/CharlotteDunois)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~175 days

Total

5

Last Release

1905d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7469ba20a83b18557bde2a09acd47b9b0ee91657f73b35789c5367fbe94dd19?d=identicon)[knik](/maintainers/knik)

---

Top Contributors

[![JABirchall](https://avatars.githubusercontent.com/u/3427459?v=4)](https://github.com/JABirchall "JABirchall (27 commits)")[![feralheart](https://avatars.githubusercontent.com/u/3487559?v=4)](https://github.com/feralheart "feralheart (2 commits)")[![et-nik](https://avatars.githubusercontent.com/u/3670640?v=4)](https://github.com/et-nik "et-nik (1 commits)")[![tommy-bolger](https://avatars.githubusercontent.com/u/714595?v=4)](https://github.com/tommy-bolger "tommy-bolger (1 commits)")

### Embed Badge

![Health badge](/badges/knik-botman-driver-discord/health.svg)

```
[![Health](https://phpackages.com/badges/knik-botman-driver-discord/health.svg)](https://phpackages.com/packages/knik-botman-driver-discord)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M686](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M157](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M211](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M860](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
