PHPackages                             skinnybot/skinny - 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. [Framework](/categories/framework)
4. /
5. skinnybot/skinny

ActiveLibrary[Framework](/categories/framework)

skinnybot/skinny
================

A framework to create discord bot in PHP.

v2.0.2(6y ago)1221331MITPHPPHP &gt;=7.3

Since Nov 9Pushed 5y ago2 watchersCompare

[ Source](https://github.com/SkinnyBot/Skinny)[ Packagist](https://packagist.org/packages/skinnybot/skinny)[ Docs](https://github.com/SkinnyBot/Skinny)[ RSS](/packages/skinnybot-skinny/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (6)Versions (11)Used By (1)

Skinny Bot
==========

[](#skinny-bot)

 [![Skinny Logo](https://cloud.githubusercontent.com/assets/8210023/20224403/9d9212b2-a83e-11e6-8672-e43b513c480c.jpg)](https://cloud.githubusercontent.com/assets/8210023/20224403/9d9212b2-a83e-11e6-8672-e43b513c480c.jpg)

TravisCoverageCodacyStyleCIStable VersionDownloadsLicense[![Build Status](https://camo.githubusercontent.com/39f039b9ac66abf73caaac022a04a250d879d386ea7874386a9d26ecf81abbf1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f536b696e6e79426f742f536b696e6e792e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/SkinnyBot/Skinny)[![Coverage](https://camo.githubusercontent.com/da82c2621b0d848f2f99bb5312ea4b56e3294d7fec8be9959b27e3452d295f79/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f636f7665726167652f39633163663261313766643034323431613032393261323834346262356465322e7376673f7374796c653d666c61742d737175617265)](https://www.codacy.com/app/SkinnyBot/Skinny)[![Codacy](https://camo.githubusercontent.com/e3e9f0c8665101679070d824445569f60fc2b2094053634009dec5589b5ec6f7/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f39633163663261313766643034323431613032393261323834346262356465322e7376673f7374796c653d666c61742d737175617265)](https://www.codacy.com/app/SkinnyBot/Skinny)[![StyleCI](https://camo.githubusercontent.com/bab47b836599771777766d7e0e50052f9f2890de41ae581ecb3ed40d7586aacf/68747470733a2f2f7374796c6563692e696f2f7265706f732f37333137353732392f736869656c64)](https://styleci.io/repos/73175729)[![Latest Stable Version](https://camo.githubusercontent.com/294583be399f92b2bd01e3bc51478f3d9fc5672a868047f60b75a0dcfd23db1d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f536b696e6e79426f742f536b696e6e792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/skinnybot/skinny)[![Total Downloads](https://camo.githubusercontent.com/3771768b2b3300ccbdc8e37ce59188168df094ecdd50995648810177ab36f5a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736b696e6e79626f742f736b696e6e792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/skinnybot/skinny)[![License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/skinnybot/skinny)A framework to create discord bot in PHP using [DiscordPHP](https://github.com/teamreflex/DiscordPHP).

Note
====

[](#note)

This is the core of the Bot. The skeleton of the application can be found [there](https://github.com/SkinnyBot/Skinny-Skeleton).

Installation
============

[](#installation)

If you just want to use and/or develop your own bot, you should use the [Skinny Skeleton](https://github.com/SkinnyBot/Skinny-Skeleton) as a base for your project. Installation steps can be found there.

Requirements
============

[](#requirements)

- 📦 [Composer](https://getcomposer.org)
- [![PHP](https://camo.githubusercontent.com/7c1ac8d93d33ea188869c510717ca20e124c82c9b5a4c6bc14e2e504187fd387/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e362d3434434231322e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/7c1ac8d93d33ea188869c510717ca20e124c82c9b5a4c6bc14e2e504187fd387/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e362d3434434231322e7376673f7374796c653d666c61742d737175617265)

Documentation
=============

[](#documentation)

Summary
-------

[](#summary)

- [Core](#core)
    - [Creating news Modules](#creating-news-modules)
    - [The variable `$message`](#the-variable-message)
    - [The object `$wrapper`](#the-object-wrapper)
    - [The Module System](#the-module-system)
- [Plugins](#plugins)
    - [Creating a Plugin with composer](#creating-a-plugin-with-composer)
    - [Creating a Plugin without composer](#creating-a-plugin-without-composer)
- [Others](#others)
    - [Core plugins list](#core-plugins-list)

### Core

[](#core)

#### Creating news Modules

[](#creating-news-modules)

The bot come with a Module system and a Module manager that allow you to create Modules for your custom commands. Your module must implement the `Skinny\Module\ModuleInterface`.

Here is the default template for a module, named `Basic` for example :

**src/Module/Modules/Basic.php**

```
