Skip to content

Eastern Media Assistant Telegram chatbot Project, based on Eternnoir's pyTelegramBotAPI

License

Notifications You must be signed in to change notification settings

halkliff/EmaProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmaProject

Just a bot project based on PyTelegramBotAPI by etnoir

All the help you can give is welcome! :D

This bot should fetch Danbooru-like website's pictures and send to user.

A simple, yet powerful

Ema - Eastern Media Assistant was made thinking on the ease-to-use feature. Coding here is simple, as much as is fast and powerful.

Setting up the rockets!

To start the setup, you must do the following:

  1. Install all the needed stuff:
    $ pip install PyTelegramBotAPI --upgrade
    $ pip install tinydb --upgrade
  2. Open Config.py
  • Change the value of TOKEN to the token given for you by @BotFather
  • Change the value of BOT_ID to your own bot ID, without the "@". NOTE: IF YOU PUT THE "@", THE BOT MIGHT NOT WORK PROPERLY
  • Change the value of BOT_NAME to the name you want your bot to have - Yes, you can rename your bot easily with it
  • Change the value of MASTER_ID to your own chat id.

Now you're all set! run Bot.py and watch your Ema-based bot working!

Changelog

V1: Version 1, stable. This bot will be soon upgraded to a new code base, 2.x.

Beta-7: Version 0.9.x! (Beta 7) 0.9x is here!

  • Complete change in the API
  • New Server API (Gelbooru)
  • Working inline mode

and much more! See all the changes here

Beta-6:

  • Bug Fixes

Beta-5:

  • Fixed some issues and mispellings
  • Added /admin command to know the status
  • Register users in a database
  • Users now have multiple language choices and changeability of it's language in database
  • Inline mode deactivated until the real database is ready
  • Delete DE.py
  • Delete ES.py
  • Delete PT.py
  • Delete RU.py
  • Delete EN.txt

Beta-4:

  • Workout in inline mode
  • API now have a function that will search for tags
  • Correction of some mispelling

Beta-3:

Future Plans

  • Finish up the inline mode (Finally!!!)
  • Update with the final version 1.x.x
  • Translate to Portuguese, Deutsch, Italian, Russian, and Spanish (Yay!)
  • Start the Chatting bot Project (Yes, Ema will be able to talk with you in the future!)
  • Reduce at minimum the code repetitions, to follow the DRY - Don't repeat yourself rule.
  • Embraced most of Pep-8

Special thanks:

@DanialNoori94 - Many, Many thanks! without you, this project would never be possible ❤️
Special thanks to @skyr75, @Blury, @zvizdapil, and @R3D_C0D3 for translating All Ema strings, really thanks!!!

About

Eastern Media Assistant Telegram chatbot Project, based on Eternnoir's pyTelegramBotAPI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages