- PHP 7
- PDO with SQLite enabled
- Composer
Run composer install
to install the dependencies.
Edit both phinx.yml
and app/config/config.php
to connect to your database.
Then run ./bin/phinx migrate
to create the tables in the database.
Create a discord bot account: https://discordapp.com/.
Then add the bot token/name in app/config/config.php
To start the discord bot run php discord.php
If you want to exec a bot command in a chanel you have to mention the bot eg. @botName add_question hello
- add_question
- add_response