28/10
2016
dev-master
9999999-dev
The Requires
The Development Requires
Wallogit.com
2017 © Pedro Peláez
A framework to help build a Discord bot and route incoming messages. Features include:, (*1)
It's a work in progress, in particular it could do with a good DSL in front of the matchers in order make specifying a bot much prettier on the eyes., (*2)
php composer.phar install
See examples, (*3)
php examples/run.php [your_bot_token] [bot_client_id]Included in the example is an upstart script. To run on a Ubuntu server:, (*4)
cp examplebot.conf /etc/init # Change paths in config to match your installation vi /etc/init/examplebot.conf sudo service examplebot restart
vendor/bin/phpunit
vendor/bin/phpunit tests/DiscordBotBuilder/Command/HelpCommandTest.php
See info about the bot's current servers:, (*5)
php utils/debug-info.php [discord_token]