Giter VIP home page Giter VIP logo

islambot's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.