Skip to content

Releases: loukamb/kaabot

1.3.6

13 May 23:14
Compare
Choose a tag to compare

User

  • Added page-specific lookups in /5v command (requested feature).
  • Bot's activity status now links to a live broadcast of MTA World.

Technical

No changes.

1.3.5

12 May 17:50
Compare
Choose a tag to compare

User

No changes.

Technical

  • Fixed markup parsing in /hadith outputs.

1.3.4

08 May 17:00
Compare
Choose a tag to compare

User

No changes.

Technical

  • Significantly improved how MTA data was accessed.
  • No longer dependent on tz-lookup and moment.

1.3.3

06 May 16:21
Compare
Choose a tag to compare

User

  • /dictionary is a command for searching the definitions of Arabic words.
    • Very, very experimental, and current implementation also does an unsafe scrape (evals some JavaScript object literal). Because of this, the command is disabled by default. If you want to use it, set the UNSAFE environment to "true".
  • Added link to Sunnah in hadith outputs.

Technical

  • Improved fault tolerance of /hadith queries.

1.3.2

04 May 16:46
Compare
Choose a tag to compare

User

  • /baiat is a command for retrieving the Conditions of Bai'at.
    • Give it a single index from 1 until 10 and the bot will post the relevant Condition of Bai'at. If no index is provided, it will provide an explanation of Bai'at and a link to the form.

Technical

  • Added Ahmadiyya logo to embed.
  • Added additional link to Holy Quran in verse outputs in the title embed (compatibility fix with older Discord clients, e.g. Aliucord).
  • Changed default color of embed from green to black in concordance with Ahmadiyya logo.
  • Removed useless dependencies.

1.3.1

03 May 21:06
Compare
Choose a tag to compare

User

  • /hadith is a command for retrieving hadiths.
    • Give it a single book name and verse reference (e.g. bukhari:6594) and the bot will post the relevant paragraph into chat.

Technical

No changes.

1.3.0

03 May 19:00
Compare
Choose a tag to compare

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.

1.2.0

27 Apr 21:07
Compare
Choose a tag to compare

User

  • Adjusted embed color to a more earthly tone.
  • /verse now accepts more flexible queries.
    • Instead of specifying a chapter and verse in distinct options, you can simply input chapter:verse (e.g. 1:1).
    • Multiple verses can also be retrieved with an optional range parameter (e.g. 1:1-3).

Technical

No changes.

1.1.2

27 Apr 20:27
Compare
Choose a tag to compare

User

  • An Open in Quran button is now displayed below verse outputs.

Technical

No changes.

1.1.0

12 Mar 15:49
Compare
Choose a tag to compare

User

  • Response prompts now list Kaab'ot's name and version.

Technical

  • Added configurable settings file, settings.json
    • Logging can now be turned off to prevent console pollution.
    • Bismillah counting can now be configured globally for self-hosted instances of the bot.