Giter Site home page Giter Site logo

Ask The Quran: Ask The Quran is a Discord bot powered by GPT-4 API that helps users find Quranic references, teachings, and relevant Sahih Hadith from the books of Hadiths in response to their questions. It can also imitate the user's preferred Islamic scholar to provide better context and understanding.

Features Imitate user preferred Islamic Scholar: The bot can mimic the style of a chosen Islamic scholar to offer guidance and knowledge in a familiar manner. Quranic references and teachings: The bot can search for Quranic verses and teachings related to the user's query and provide accurate references. Relevant Sahih Hadith: The bot can find relevant Sahih Hadith from the books of Hadiths, quote them with references, and offer teachings in response to user input through chat. Getting Started To use the Ask The Quran bot in your Discord server, follow these simple steps:

Prerequisites A Discord account Administrator access to a Discord server A ChatGPT API key Installation Clone this GitHub repository. Install the required packages: discord.py and openai. Configure the environment variables for your ChatGPT API key and Discord bot token. Follow the instructions in the provided guide to create your Discord bot and add it to your server. Deploy the bot using a platform like Heroku, Replit, or PythonAnywhere. Usage Once the bot is running in your Discord server, use the following commands to interact with it:

!ask : Ask a question related to Quranic teachings, and the bot will respond with relevant information and references. !hadith : Request a Sahih Hadith related to your query, and the bot will provide a quote with references and teachings. !scholar <scholar_name>: Set your preferred Islamic scholar for the bot to imitate when responding to your questions. License This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments Powered by GPT-4 API from OpenAI Special thanks to the developers of discord.py and openai Python libraries for making this project possible.

askthequran's Projects

askthequran doesnโ€™t have any public repositories yet.

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.