Soon there will be alot of more functions and we will create a v1.0.0 version.
Sometimes people say strange things at work like: Stop it with the good idea's, i will think of something myself. Then we always put it with a marker on a tile on the wall. Now I created a bot that will do exacly the same but then in discord.
When you add this bot to the channel it will look for messages with /tile
.
- node
- npm
npm install
node index.js
Create a tile and display tile
/tile say When in doubt push it live
Save a tile
/tile save When in doubt push it live
List last 10 tiles
/tile list
Delete tile
/tile delete <tilenumber>
Select a tile
/tile select <tilenumber>
Create a .env
file with the following contents:
DISCORD_BOT_TOKEN="discordbottoken"
DATABASE_HOSTNAME="dbhostname"
DATABASE_USERNAME="dbusername"
DATABASE_PASSWORD="dbpassword"
DATABASE_DATABASE="dbname"
Create migrations:
node src/database/pool.js add migration create_test_migration
Run migrations:
node src/database/pool.js up