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

API Programming Class | Final Project #2 | Campus Assignment

License

Notifications You must be signed in to change notification settings

cakraawijaya/Bot-Inventaris-Tugas-Berbasis-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Source Love License: MIT GitHub last commit Project Type

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
    bash-1

    pip install pytelegrambotapi
    bash-2

    pip install datetime
    bash-3

    cd KelasApi
    bash-4

    python3 Bot-InventarisTugas.py
    bash-5

  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 Pythonanywhere
telegram-bot-1 telegram-bot-2 telegram-bot-3 telegram-bot-4 telegram-bot-5 pythonanywhere



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 is my own work and is not the result of plagiarism from other people's research or work, except those related to third party services which include: libraries, frameworks, and so on.



LICENSE

MIT License - Copyright © 2020 - Devan C. M. 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.

Releases

No releases published

Packages

No packages published

Languages