Skip to content

Prayer Times

Zaify edited this page Sep 1, 2022 · 2 revisions

The bot can send the prayer times for a location using the aladhan API.

Getting the prayer times for a location

/prayertimes get <location> <optional calculation method>

This will send the times for the five obligatory prayers in the location for the current date, as well as for juridicial midnight and imsak.

For example, to get the prayer times for Dubai, type:

/prayertimes get Dubai, United Arab Emirates

Calculation Methods

By default, the Umm al-Qura University prayer time calculation method is used. You can change the default calculation method the bot uses using /prayertimes set_calculation_method.

/prayertimes list_calculation_methods will return the list of calculation methods.

A technical explanation of these is available here.

Clone this wiki locally