Giter VIP home page Giter VIP logo

quranbot's Introduction

QuranBot - بوت القرآن الكريم

بوت القرآن الكريم للتذكير بالله عز و جل

Discord PyPI - Python Version GitHub top language

About

The bot is a bot that helps your server to remember for allah. its send azkar for every 30 minutes or some other times.

Features

  • Send Azkar for every 30 minutes or some other times.
  • Play quran with radio or any other audio source.
  • Got prayer times for every city.
  • Got all quran holy pages with custom fast cdn.

How bot works

bot work on python and use a discord.py library to connect to the discord gateway & rest discord api, it use a mongodb database to store all data, and we use a lavalink library to play quran audio.

Setup steps

Clone the repository. (required)

git clone https://github.com/HazemMeqdad/quranbot.git  # required git

if you hava a problem or not donwload git tool then you can download it from here, or you can download repository from here

  • This steps to install in linux vps

Install docker latest version. (required)

curl -fsSL https://get.docker.com -o get-docker.sh
DRY_RUN=1 sudo sh ./get-docker.sh

Install docker-compose latest version. (required)

sudo apt-get update
sudo apt-get install docker-compose-plugin
sudo yum update
sudo yum install docker-compose-plugin

Configure the bot. (required)

create the .env file and use the config template from example file example.env and edit it. example:

TOKEN="OTg3NTM5NjEw..."
MONGO_URL="mongodb://localhost:27017"
OWNER_IDS="670993199011201025"

# If you went to create slash command on once guild
# DEBUG_GUILD="843710915861545000"

# Just password required
LAVALINK_NODE_PASSWORD="youshallnotpass"  # lavalink password

Create a docker container

Open the folder of your clone

docker-compose up -d

Other commands

docker-compose stop  # to stop the bot

How to use

You can find all commands in on use the help command
image

Some screenshots of commands

image
image
image

quranbot's People

Contributors

hazemmeqdad avatar

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.