Tell others what you were lisening to on Deezer. Publicly hosted as @DeezerHistoryBot.
Caching in a chat, sending InlineQueryResultCachedPhoto
and the generated graphics are inspirations from @NeelPlaysAC’s spotipie-bot.
- Build:
npm run build
- Copy example.env to .env:
cp example.env .env
- Add your credentials:
TOKEN
> A bot token from @BotFather.
MONGO
> A Mongo DB URI.
CACHE
> ID of a chat where the bot can send photos to cache them for inline results.
- Install PM2:
npm install pm2
- Start the bot:
pm2 start dist --name deezer-history