A Discord bot that sends Azkar every x minute using Discord Components v2 containers. The bot contains a commands for other activites like: hadiths & prayer time.
-
Install dependencies:
npm install
-
Copy
.env.exampleto.envand fill in:DISCORD_TOKENCLIENT_ID- optionally
GUILD_IDfor fast slash-command registration while testing
-
Register slash commands:
npm run register
-
Start the bot:
npm start
DISCORD_TOKEN=
CLIENT_ID=
GUILD_ID=
# Optional: comma-separated channel IDs. You can also use /azkar setup in Discord.
AZKAR_CHANNEL_IDS=/azkar setup channel:#channel- add a channel to receive Azkar every minute/azkar stop channel:#channel- remove a channel/azkar send channel:#channel- send one Azkar now/azkar list- show configured channels/prayer city:city-name- show today's prayer times for a city/hadithor/احاديث- show a random Arabic Hadith menu with a non-repeating "حديث آخر" button
You can also set AZKAR_CHANNEL_IDS=channelId1,channelId2 in .env.