Skip to content

Khahgg/mybot

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published