Skip to content

ahmetmutlugun/imam

Repository files navigation

Codacy Badge Issues Stars License Lines GitHub Commit Activity

Imam Bot

Imam Bot is a discord bot with many features. Some of the key functionality includes prayer times based on location, getting Quran verses, reciting the Quran, and getting hadith.

Prayer

besmele

Sends a besmele

dua

Pray for a user or a group of users.

esma

Sends one of Allah's names. Chooses randomly if a number is not specified.

hadith

Sends a hadith. If there is no collection or number specified, chooses randomly.

salawat

Gives salawat for the Prophet

Recite

browse

Browse a surah in the quran. A surah and ayah must be specified for the starting point.

connect

Connect to a voice channel.

leave

Leave the voice channel

now_reading

Get the ayah being recited.

pause

Pause the current ayah.

play

Search or use url to queue ayahs. A surah and the range of ayahs must be specified like 1:1-7.

queue

List the next 5 ayah in the queue.

quran

Find a specific ayah from the Quran.

resume

Resume the paused ayah.

skip

Skip the current ayah.

stop

Stop reciting.

volume

Adjust the volume.

Prayer Times

These prayer times find the time from the user's specified location. You can use "imam location" to set your location. The default location will be Cupertino, US by default.

asr

Displays the asr time

dhuhr

Displays the dhuhr time

fajr

Displays the fajr time

isha

Displays the isha time

maghrib

Displays the maghrib time

location

Set your location for prayer commands.

pnow

Sends the current prayer time and how much time left for the next prayer time

pt

Sends all prayer times

Other

changelog

Show the last update

dhikr

Sends a reminder

help

Shows all comands.

izlam

Sends a random meme from the r/izlam or r/memritv subreddits.

ping

Displays bot ping

pp

Sends the profile picture of a user

slm

Send a greeting message.

takbeer

Takbeer

trivia

Asks a random islamic trivia question