Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 1.01 KB

README.md

File metadata and controls

60 lines (38 loc) · 1.01 KB

Waktu Solat Bot

[Work in Progress]

This is a simple bot to send waktu solat data to discord through webhook. It will automatically post the message at solat time.


Installation

Install packages

npm install
yarn

Create a .env file and enter your Discord Webhook URL

DISCORD_WEBHOOK_URL= Your webhook URL
LOG_DISCORD_WEBHOOK_URL= Your log webhook URL

Spin up dev server

npm run dev
yarn dev

Deploy

Run locally

npm run start
yarn start

Or you could deploy on Railway

Deploy on Railway

Set the webhook URL

DISCORD_WEBHOOK_URL= Your webhook URL
LOG_DISCORD_WEBHOOK_URL= Your log webhook URL

Data source

Yearly data from e-solat

Thanks

Thank you, feel free to contribute. :)