Skip to content

galacticwarrior9/IslamBot

Repository files navigation

IslamBot

GitHub contributors Discord

IslamBot is an open-source Discord bot that provides several utilities useful for the study and practice of Islam. Features include:

  • Qur'an, with support for 100+ translations.
  • Hadith in English and Arabic, from sunnah.com.
  • Get prayer times for any location, with the ability to change the calculation method.
  • Tafsir, with support for many tafasir.
  • Convert between the Hijri and Gregorian calendars.
  • Fetch specific Qur'anic verses and pages from the mushaf.
  • Browse duas from Fortress of the Muslim.

Documentation

Instructions on how to use the bot are available on the wiki.

Information for Developers

The Python packages required to run the bot are listed in requirements.txt file. Options are retrieved from a file named config.ini in the base directory. An example config.ini can be found here.

To run the bot, you will need to exclude the TopGG extension from loading. It is recommended to only sync commands with your test server to avoid falling afoul of Discord's strict rate limits on global command synchronisation. Please consult the comments in main.py for more information.

You can use the /reload command to reload extensions and commands while the bot is running. If you have made a change to a command, reload its extension first before reloading commands.

If you lack a sunnah.com API key, you may use the demo key provided in the API documentation for testing. Be aware that this key has a low request limit.

About

A Discord bot that supports Qur'an, hadith, prayer times, tafsir and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages