Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

API Programming Class | UPN Veteran Jatim | Python Telegram Bot Inventory Tasks | Final Project

License

Notifications You must be signed in to change notification settings

devancakra/Bot-Inventaris-Tugas-Berbasis-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Open Source Love License: MIT ISSN GitHub Star GitHub Contributor GitHub last commit Python

Bot-Telegram-Python-Inventaris-Tugas

2nd Final Project in API Programming

This project is closely related to telegram bots, which themselves have an important role in teaching and learning activities in a classroom. This bot can perform task inventory periodically. This bot is built with the help of a platform called pythonanywhere. In this project, the program creator uses python version 3.6 because it is known to have advantages in syntax. The purpose of this project is to help lecturers or teachers in taking inventory of their students' assignments and anticipate errors that might occur, namely forgetting to recap, this is due to the busy messaging activities in a class social media group, in this case telegram.



Project Requirements

Part Description
Features Reply Keyboard, Inline Keyboard, Error Handling, Inventory, User Log Activity
Platform Pythonanywhere
Library telebot, datetime
Code Python 3.6



Bot Capabilities

  1. There are menu options that can be accessed by clicking or typing.

  2. It can also detect incoming files or documents and notify the sender directly.

  3. Another ability of this bot is that it can provide notification to the bot owner that someone has accessed a certain menu, so that the bot owner can monitor the movements that occur directly.

  4. This bot can address both group users and non-group users.

  5. There is problem control in the system, if the message does not match the command it will be redirected to the /help command.



Get Started

  1. Download this repository and extract it.

  2. Register for a pythonanywhere account :

    https://www.pythonanywhere.com/registration/register/beginner/
    

  3. Login to pythonanywhere account.

  4. Create a new directory on the pythonanywhere platform by clicking on Files at the top -> Type in the Directories section: KelasApi -> Click New directory.

  5. Then upload Bot-InventarisTugas.py by clicking the Upload a file button.

  6. Return to the previous page, which is at /home/[pythonanywhere username] -> Click on Open Bash console here.

  7. Then type this in the console in rotation:

    mkvirtualenv myvirtualenv --python=/usr/bin/python3

    pip install pytelegrambotapi

    pip install datetime

    cd KelasApi

    python3 Bot-InventarisTugas.py

  8. Enjoy [Done].



Reminder

• Pay attention to writing good and correct syntax because python is case sensitive.

• Make sure your PC/Laptop is connected to the internet.



Highlights

Telegram Bot
TGbot-1 TGbot-2 TGbot-3
TGbot-4 TGbot-5 TGbot-6



Demonstration of Application

Via Telegram: @inventaristugas_bot



Appreciation

If this work is useful to you, then support this work as a form of appreciation to the author by clicking the ⭐Star button at the top of the repository.



Disclaimer

This application has been created by including third-party sources. Third parties here are service providers, whose services are in the form of libraries, frameworks, and others. I thank you very much for the service. It has proven to be very helpful and implementable.



LICENSE

MIT License - Copyright © 2020 - Devan Cakra Mudra Wijaya

Permission is hereby granted without charge to any person obtaining a copy of this software and the software-related documentation files to deal in them without restriction, including without limitation the right to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons receiving the Software to be furnished therewith on the following terms:

The above copyright notice and this permission notice must accompany all copies or substantial portions of the Software.

IN ANY EVENT, THE AUTHOR OR COPYRIGHT HOLDER HEREIN RETAINS FULL OWNERSHIP RIGHTS. THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, THEREFORE IF ANY DAMAGE, LOSS, OR OTHERWISE ARISES FROM THE USE OR OTHER DEALINGS IN THE SOFTWARE, THE AUTHOR OR COPYRIGHT HOLDER SHALL NOT BE LIABLE, AS THE USE OF THE SOFTWARE IS NOT COMPELLED AT ALL, SO THE RISK IS YOUR OWN.

About

API Programming Class | UPN Veteran Jatim | Python Telegram Bot Inventory Tasks | Final Project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages