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.
Ema - Eastern Media Assistant was made thinking on the ease-to-use feature. Coding here is simple, as much as is fast and powerful.
To start the setup, you must do the following:
- Install all the needed stuff:
$ pip install PyTelegramBotAPI --upgrade
$ pip install tinydb --upgrade
- 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!
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:
- Major changes in the /API/Img.py
- New strings added for the answers in /lang/EN.py
- Major changes into Bot.py to work with the new API
- 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
@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!!!