- Nothing changed yet.
- Send as group of 10 by default for anime dbs
- Send groups of 10 if max group size of 10 is exceeded by the user in anime db
- Fix default option not working in
extract_option_from_string
- Print bot info on start
- Remove obsolete prints
- Fix turning of download mode
- Fix crash when sending file to user when no url is defined
- Version bump
- Fix animedatabase filetype detection was not working properly
- Fix not being able to group send images when the the image was a link instead of a local path
- Replace Yandex- with Google-Translate
- Remove
/danbooru_latest
and replace/danbooru_search
with/danbooru
- Add more danbooru like services. Instead of just danbooru we get safebooru and konachan too
- Rename Danbooru class to AnimeDtabases because it fits better
- Send images from danbooru search async to getting the images to increase speed and with the users feedbackloop
- If possible send url of danbooru entry if the file could not be sent
- Add
zip
to any animedatabase search to get the flies in a zip file + all information about the files - Install mr.developer
- Update dependency versions
- Show progressbar of items being sent by danbooru search / latest
- Add @XenianBot to danbooru search / latest results
- Remember where danbooru files where downloaded too
- Be able to group the search result again with group=SIZE
- Add danbooru API limit warning
- Allow tag options and qualifiers like
-some_tag
,*some
&order:score
- Handle different filtypes correctly
- Define and use an api key for Danbooru with the
DANBOORU_API_TOKEN
variable - Increase Danbooru image limit from 5 to 20
- Notify user about successful restart with
/restart
- Call not implemented when yandex translate is run without api key
- Fix corrupt danbooru post image url
- Send full file too together with the danbooru photos
- Send danbooru images faster by not trying to send them as a group
- Send danbooru images only available to premium members as long a premium account is given in the settings
- Clear zip download queue with
/zip_clear
- Prevent too long message error on /commands rst
- Added an alias command
/help
for/commands
- Fixed usage alias commands overriding real commands
- Add
/zip_mode
command which lets the user download items into a zip file
- Fix error when saving a
CustomNamedTemporaryFile
file. - Fix not being able to save sticker as image in sticker search
- Tell user that RIS is not working if the file path is not an url instead of just telling nothing
- Fix not working alias function
- Bump
gTTS-token
version to fix TTS - Fix file type when saving
voices
- Fix file permissions for copied files under unix systems
- Fix file copying on unix devices
- Fix
/commands raw
command not working
- Fix paths in settings template
- Custom user specific databases, use commands
/save
and/save_mode
more information in/commands
- Be able to show custom DB entries with
/db_list
- Add functionality to add alias commands just like a normal command but a string as
command
value, which points to acommand_name
. Additionallytitle
,description
,hidden
andgroup
can be set. - Autogenerate ResT for all commands with
/commands rst
, but be aware that double whitespace are not printed. You get "\ \ " instead, which can be replaced.
- Bot refactoring:
- package
xenian.bot
instead ofxenian_bot
- buildout instead of pipenv
bin/bot
instead ofrun_bot.py
- package
- Split utils up and put them in an
utils
package - Moved the download functions from the reverse search image commands to the utils
- Combined the reverse search MessageHandlers to one
- Cleaned up reverse search image command
- Autodownload ffmpeg if it cannot be found by imageio
- Improve windows compatibility with file handling
- Optimized GIF downloader for local file uploader
- Run GIF downloader asynchronously so users won't get stuck
- Reply to user message on GIF download, so that the user sees to which GIF the message belongs
- Improve TTS error message
- Rename
tty
command totts
(Text-To-Speech) but add antty
alias for the time being - Be able to set a CallbackQueryHandler for a CallbackQuery sender
- Print raw commands list for the BotFather with
/commands raw
- New filter
bot_admin
, check if current user is a bot admin /random
- send a random anime gif/save_gif
- hidden - save the gif replied to as an anime gif/toggle_gif_save
- hidden - toggle auto save sent gifs as anime gif- New filter
anime_save_mode
to determine if gif save mode is turned on - New filters for group permissions:
bot_group_admin
,user_group_admin
,reply_user_group_admin
,all_admin_group
- Move dabooru to the Anime group
- Move Video Downloader to the Download group
- Use title for indirect commands instead of command name
- Mako Template Engine integration
- Reimplemented the
/commands
command with a mako template
- Temporarily remove the Instagram functionality, better version will come back in the future
- Fix links to users
- Fix image to text and translate command name in CHANGELOG and README
- Group setting for commands
- Use MongoDB as database, configuration must be set in settings.py
- Create collection in database with all user, messages and chats
/itt [-l LANG]
- Image to Text: Extract text from images/itt_lang
- Languages for ItT: Available languages for Image to Text/itt_translate [TEXT] [-lf LANG] [-lt LANG]
- Image to Text Translation: Extract text from images and translate it.-lf
(default: detect, /itt_lang) language on image, to-lt
(default: en, normal language codes) language.
- Fix command default options
- Use Filters.all as default for MessageHandler
- Yandex translate got new function for itself, it is used by the
/translate
and/itt_translate
command.
- Fixed non admin user could use
/kick
,/ban
,/warn
- Fixed grammatical error in a group management text
- Add Yandex API Token to settings.example.py
/tty [TEXT] [-l LANG]
- Text to speech: Convert text the given text or the message replied to, to text. Use-l
to define a language, like de, en or ru/translate [TEXT] [-lf LANG] [-lt LANG]
Translate a reply or a given text from-lf
(default: detect) language to-lt
(default: en) language- Add utility function
get_option_from_string
to extract options from strings sent by a user
- Update reverse image search wait message if possible
- Danbooru search only sends finished messages in private chat
/delete
has to be a reply to another message to delete this message and warn the user/unwarn
to remove all warnings from a user. Reply with it to a message- Add command
/rules
to show a groups rules - Add command
/rules
to show a groups rules - Add command
/rules_define YOUR_RULES
to define new rules in a group - Add command
/rules_remvoe
to remove the groups rules - Specify a time until user can return from kick with
/kick [TIME]
- Add
/calc EQUATION
command to calculate equations inside groups - Added
LOG_LEVEL
to settings - Instagram credentials to the
settings.py
, which are used for one central Instagram account, instead of/instali
and/instalo
/insta_follow PROFILE_LINK/S OR USERNAME/S
Instagram Follow: Tell @XenianBot to follow a specific user on Instagram, this is used to access private accounts./contribute YOUR_REQUEST
Send the supporters and admins a request of any kind/error ERROR_DESCRIPTION
If you have found an error please use this command.
- Run math function asynchronous
- Disable directly solving equations without command sent to groups
- Fix not shortening solutions form the calculator
- Fix message too long for Telegram, for too long solutions from the calculator
- Remove all
True
andFalse
before trying to calculate so a message with just “true” doesn’t get returned
/instali
,/instalo
have both been removed in order to have one central defined account