Releases: halkliff/EmaProject
Releases · halkliff/EmaProject
V1 of Ema
0.9.x - Beta 7 is here!!!
Beta 7
Finally!!! Ema is almost at it's version 1.x! Here are the changes:
Complete change in the Query API:
Embraced most of PEP-8
- Rework in the entire API
- For the sake of consistency, the API has a better error handling.
- The server is no longer yande.re, now is gelbooru.com
- Deleted
acc_setup.py
, as it is no longer needed - Function for normal search ( specially for the normal media commands in the bot)
- Function for inline search
- This function is iterable, so it can change it's results depending on the given parameters
- It also returns a json object with up to 50 objects inside it
Much more languages supported!
- Now Ema can talk not only in
English
, but inPortuguese
,Italian
,Deutsche
,Spanish
andRussian!
- Special thanks to @skyr75, @Blury, @zvizdapil, and @R3D_C0D3 - Without you, it would be impossible
- A bunch of new strings added, to handle the new bot needs
New bot functions and additions:
Embraced most of PEP-8, and added a lot of comments
- Now the bot will not leave the users in an eternal vaccuum if the user send any unsupported command or text
- New command:
/about
- returns to the user a little text with all the needed info - Added new handlers for the full support to change the language
- Added new handles for the full support to change the notifications
- The notifications are broadcast messages, and the user can choose whether he wants to receive it
The broadcast doesn't work yet.
- The notifications are broadcast messages, and the user can choose whether he wants to receive it
- Added a new button in the media commands' answer:
Share
- The share button makes the user able to share the picture in any chat, even if it is a chat where the bot is not
- So it brings a higher use possibilities
- Users can now search with the command
/id {id}
, where the{id}
is any number from1
up to3226788
- The media commands' responsiveness was improved thanks to a little tweak in the code
Inline mode:
- Users can search any combination of tags, and the query is returned with matching results
- If, for any reason, the bot couldn't find anything with the query, it returns an error answer
- This error answer, if clicked, inputs a little text, saying why it couldn't match any result
- When results are successful, the bot returns a list with all matching results
- This list includes Pictures (
.png
,.jpg
,.jpeg
) and GIFs (.gif
)
- This list includes Pictures (
- As the user selects it's desired picture / gif, the bot inserts it on the chat
- The input contains not only the file, but also it's unique identifier in the server
- The input content also has two buttons,
download
andsearch more
- The
download
button pops up a page where the user can download the file - The
search more
button uses the'switch_inline_query_current_chat'
, so if the user wants to search more that tag, he won't need to type again@bot_name [tags]
- The
- When the input content is actually from the
Share
button, it uses the first three tags to search, just like thesearch more
button (And I must say this was hard to do)
And that's pretty much it! The possible next 0.9.x
releases will be just bug fixes, until the final version 1.x
is finally ready!!!
Beta-5: New aditions and more changes
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
- The new module with the texts is now named
Lang.py
The 0.9x is coming soon!
Beta-3: New aditions and complete changes
What is new?
- Complete change in Img.py
- Added acc_config.py
- New strings added in /lang/EN.py
- Updated
/help
and added new features, - Small changes in
commands
- Initial work on Inline queries
- Changes in
Bot.py
to work with the newConfig.py
- Added
Config.py