GithubHelp home page GithubHelp logo

abdulrahman1s / iqrajs Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 34 KB

A Discord bot that can play Qur'an recitations in voice chat.

License: MIT License

JavaScript 99.93% Procfile 0.07%
quran discord-js discord bot discord-bot mushaf

iqrajs's Introduction

Deploy Run on Repl.it

Clone of Iqra but in javascript!

This is a simple bot that can play recitations of surahs, ayahs and mushaf pages from the Qur'an in voice chat, along with a live audio stream from Makkah. It currently supports 120+ reciters.

Commands

q!play

q!play instructs the bot to play a recitation of a surah, ayah or page from the Qur'an.

Playing a surah

q!play <surah number> <optional reciter>

OR

q!play <surah name> <optional reciter>

If no reciter is specified, Mishary al-Afasy's recitation will be used. Click here for the list of surah reciters.

Example 1: q!play surah al-fatiha Shaik Abu Bakr Al Shatri

This would play Abu Bakr al-Shatri's recitation of Surah al-Fatiha.

Example 2: q!play surah 112 Abdulrahman Alsudaes

This would play Abdul Rahman al-Sudais' recitation of Surah al-Ikhlas.

Playing a single ayah

q!play ayah <surah>:<ayah> <optional reciter>

If no reciter is specified, Mishary al-Afasy's recitation will be used.

Example: q!play ayah 2:255 Shaik Abu Bakr Al Shatri

This would play Abu Bakr al-Shatri's recitation of Surah al-Baqarah, ayah 255.

Playing a single page from the mushaf

q!play page <page number> <optional reciter>

<page> must be between 1 and 604. If no reciter is specified, Mishary al-Afasy's recitation will be used.

Example: q!play page 10 hani al-rifai

This would play Hani al-Rifai's recitation of the 10th page of a standard mushaf.

q!reciters

Gets the lists of reciters for q!play.

q!live

Plays online Qur'an radio.

q!volume

Changes the volume of the recitation.

q!volume <volume>

<volume> must be a number between 0 and 120, e.g. q!volume 50.

q!pause

Pauses the recitation.

q!resume

Resumes the recitation.

q!stop

Disconnects the bot from voice chat.

q!help

Lists all commands and how to use them.

Sources

Credits

@galacticwarrior9 For the idea and system & readme file :). ♥️

iqrajs's People

Contributors

abdulrahman1s avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

0ud

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.