Skip to content

1.3.0

Compare
Choose a tag to compare
@loukamb loukamb released this 03 May 19:00
· 17 commits to main since this release

User

  • /5v is a command that can be used to retrieve Holy Quran commentary from the Five Volume Commentary collection.
    • Give it a single verse (e.g. 1:1) and the bot will post the relevant page of the verse into chat.
  • /salat is a command that can be used to retrieve Salat timings. (experimental)
    • Salat timings are computed from the provided location (city name or precise address).
    • An optional date can be provided to retrieve Salat timings for a specific day.
    • Requires a Nominatim instance to be setup. See Technical section for details.
    • Experimental feature. It must be manually enabled by bot administrators.
  • /verse now accepts the translations parameter, which is a comma-separated list of translations to include in the output.
    • Currently only supports en, ar, and ur.
  • Translated name of chapter now included in /verse outputs.

Technical

  • Bot can now use a Nominatim instance to enable geolocalization features. This feature is experimental, and not enabled by default. Without a Nominatim instance, the /salat command (and other geolocalization features) will be disabled.
    • Address to the Nominatim instance must be provided as the geolocalizationUrl field in settings.json.
    • Read here to learn how to self-host a Nominatim instance within a Docker container. Do note that you need plenty of storage space to store all the data.
  • A cache engine is now implemented to memoize lookups wherever possible. Set cache to false in settings.json if you want to disable this for some reason.
  • Console outputs are now more readable.
  • Fixed bug with verse numbering.