<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Muhammad Firdaus</title>
    <description>The latest articles on DEV Community by Muhammad Firdaus (@firdauskotp).</description>
    <link>https://dev.to/firdauskotp</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F784050%2Fb3ec3a8e-4acc-4c54-b9ed-eac10d7fa8c4.jpeg</url>
      <title>DEV Community: Muhammad Firdaus</title>
      <link>https://dev.to/firdauskotp</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/firdauskotp"/>
    <language>en</language>
    <item>
      <title>Qadha'a Reminder Telegram Bot</title>
      <dc:creator>Muhammad Firdaus</dc:creator>
      <pubDate>Wed, 12 Jan 2022 20:59:02 +0000</pubDate>
      <link>https://dev.to/firdauskotp/qadhaa-reminder-telegram-bot-2099</link>
      <guid>https://dev.to/firdauskotp/qadhaa-reminder-telegram-bot-2099</guid>
      <description>&lt;h3&gt;
  
  
  Overview of My Submission
&lt;/h3&gt;

&lt;p&gt;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. &lt;/p&gt;

&lt;p&gt;To use this bot:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open Telegram&lt;/li&gt;
&lt;li&gt;Search for Qadhaabot and click on it&lt;/li&gt;
&lt;li&gt;Press Start&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;Choose Your Own Adventure&lt;/p&gt;

&lt;h3&gt;
  
  
  Link to Code
&lt;/h3&gt;

&lt;p&gt;The code for this Telegram bot is here &lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--566lAguM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/firdauskotp"&gt;
        firdauskotp
      &lt;/a&gt; / &lt;a href="https://github.com/firdauskotp/Qada_Reminder_Bot"&gt;
        Qada_Reminder_Bot
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
Qada_Reminder_Bot&lt;/h1&gt;
&lt;h3&gt;
How to use this bot&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open Telegram&lt;/li&gt;
&lt;li&gt;In the search bar, search for&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="snippet-clipboard-content position-relative overflow-auto"&gt;&lt;pre&gt;&lt;code&gt;@QadhaaBot
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;ol start="3"&gt;
&lt;li&gt;Press on start&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
What is the use of this bot?&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;To remind Muslims on prayers that they missed&lt;/li&gt;
&lt;li&gt;To provide Islamic Quotes and Dua's&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
What commands are available?&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Please note that you need to use / in front of the commands. Example, /help&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;
DON'T NEED AN ACCOUNT&lt;/h3&gt;
&lt;p&gt;/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&lt;/p&gt;
&lt;h3&gt;
NEED AN ACCOUNT&lt;/h3&gt;
&lt;p&gt;/qadhaa = To add the prayer times that is missed. If back is pressed, the total prayer times…&lt;/p&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/firdauskotp/Qada_Reminder_Bot"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
. However, the bot token and MongoDB credentials were censored
&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;p&gt;The official python-telegram-bot documentation can be read from &lt;a href="https://python-telegram-bot.readthedocs.io/en/stable/"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here are some screenshots of the bot&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Start&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Eki06v6j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4fhc2g9sei10xv04pot9.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Eki06v6j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4fhc2g9sei10xv04pot9.PNG" alt="Start command" width="575" height="647"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Qadhaa(Replace)/Remove (Replaced already)/Total&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--V-7QQILL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6duh0ceve2r31om08zy0.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--V-7QQILL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6duh0ceve2r31om08zy0.PNG" alt="Some main commands" width="495" height="678"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Help&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vNkbd1sx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lzwro7htlny51f6krxbw.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vNkbd1sx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lzwro7htlny51f6krxbw.PNG" alt="Help command" width="516" height="514"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Logout&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Byu2WSaC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wf2u6rauwyvo8cdjs87a.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Byu2WSaC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wf2u6rauwyvo8cdjs87a.PNG" alt="Logout command" width="555" height="192"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is a video on how the bot works&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/5nGsMJvr-Lo"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;There are 5 people in my team including me. However, most of them do not have a DEV account&lt;/p&gt;

&lt;p&gt;Some of them are &lt;a href="https://dev.to/nasyraf97"&gt;nasyraf97&lt;/a&gt;, &lt;a href="https://dev.to/afiqhusin"&gt;afiqhusin&lt;/a&gt;&lt;/p&gt;

</description>
      <category>atlashackathon</category>
    </item>
  </channel>
</rss>
