Giter VIP home page Giter VIP logo

tearobot's Introduction

Wait for TBot 2!!

TBot

A toy telegram-bot built using Python. Meant for educational purposes.

Click here to try it -- Might not work all the time

Live working Commands

  • /help - Show help message
  • /translate - Translate message from english to arabic
  • /weather - Weather in Zagazig, Egypt now
  • /calculate - Calculate mathematical expression
  • /tweet - Tweet to our Twitter account
  • /ocr_url - extract text from image using its url

Other coded features but not live:

  • /stop - stop recieving messages from bot
  • TBot will send the schedule to each registered user everyday at 8:00AM
  • TBot informs user with new annoucements everyday at 7:00AM

Overview of TBot:

doc-1 doc-2 doc-3

tearobot's People

Contributors

0xc0rv0 avatar abdelrahmanelsemary avatar ahmedelsayed101 avatar dawnbirth avatar hazemgabr232 avatar khaledhmkh avatar khaledm0hamed avatar khaledmhisham avatar randahesham60 avatar sarahsaleh082 avatar shahwan42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tearobot's Issues

`/stop` command

make /stop command for users to deactivate the bot.
it will set the user's active to 0 in the DB using set_user_status db helper function

start - stop bug

the handler can't see the second command if we used both of them right after each other

Unit Testing

create a test environment and test almost all used functions in our bot

Create DB Schema

Describe the database to handle users, messages, sessions and other data types we're dealing with

logging

Create logging for each thing happens in TBot
print to screen and store in a file.
two levels:
INFO
DEBUG

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.