DEV Community

Cover image for Qadha'a Reminder Telegram Bot
Muhammad Firdaus
Muhammad Firdaus

Posted on • Updated on

Qadha'a Reminder Telegram Bot

Overview of My Submission

Greetings, we are from the team called Maggi KawKaw! For our submission, we created a Telegram Bot using python-telegram-bot as a Qadha'a Reminder! Qadha'a is something that Muslims must do when they skip a prayer. It is like replacing the prayer at a later time. However, we sometimes lose track of how many replacements we need to make or which prayer that we skipped over. Hence, we created this bot on Telegram to help users keep track of their prayer replacements and the amount of them needed. For the backend, we use MongoDB Atlas. The data of the user as well as how many prayers they missed or replaced is stored on the database. Some of the main functions are also locked and needs the user to be registered(using a bot command) and logged in to use. This is for the privacy of the user. However, one Telegram account can only create one user for this bot.

To use this bot:

  1. Open Telegram
  2. Search for Qadhaabot and click on it
  3. Press Start

Submission Category:

Choose Your Own Adventure

Link to Code

The code for this Telegram bot is here

Qada_Reminder_Bot

How to use this bot

  1. Open Telegram
  2. In the search bar, search for
@QadhaaBot
  1. Press on start

What is the use of this bot?

  1. To remind Muslims on prayers that they missed
  2. To provide Islamic Quotes and Dua's

What commands are available?

Please note that you need to use / in front of the commands. Example, /help

DON'T NEED AN ACCOUNT

/help = bring up this help message section /reg abc = To register your username. Please substitute abc with your desired username. NOTE THAT ONLY ONE USER CAN REGISTER ON ONE ACCOUNT AND YOU CANNOT USE A DUPLICATE USERNAME /login abc = To login with your username. Please substitute abc with your username /logout = To logout your account /onquotes = To send Dua' and Islamic quotes

NEED AN ACCOUNT

/qadhaa = To add the prayer times that is missed. If back is pressed, the total prayer times…

. However, the bot token and MongoDB credentials were censored

Additional Resources / Info

The official python-telegram-bot documentation can be read from here

Here are some screenshots of the bot

  1. Start

Start command

  1. Qadhaa(Replace)/Remove (Replaced already)/Total

Some main commands

  1. Help

Help command

  1. Logout

Logout command

Here is a video on how the bot works

There are 5 people in my team including me. However, most of them do not have a DEV account

Some of them are nasyraf97, afiqhusin

Top comments (0)