I was trying to fix warnings, fix bugs and bring new feature to this bot since I created but couldn't get time. But somehow I got time occasionally and tried to fix bugs and warnings but couldn't bring new features. And this time I managed to get 2 days free to finish all work on this bot, so I can move on to other bots as well.
So today I have done these all.
Bug Fixes:
Well, I have created a list of bug list #5
/start command wasn't working in PM, since somehow I messed up in recent commit
disasters wasn't working in /help command buttons.
Features:
I'm trying to bring new features from this list #6
/tr command is working fine now.
now /cash command will send help string to understand it better
now /afk will tell reason, while going AFK.
now /info command will send profile picture of user as image, not as document
new command /debuglog is added - It will be storing debug logs which can be turned on via toggling /debug on (NOTE: only bot owner and developers can turn on/off this mode)
/sanitize also working but seems a problem in sending gif, so we will be working on that ASAP.
Change in code base:
Bot module has been edited to adapt python-telegram-bot v13 More info can be found here on official migration guide.
def fun(update, context) is now def fun(update:Update, context: CallbackContext)
Filters.groups is now Filters.chat_type.groups
Finally the main big guy who was messing in Handlers, now @run_async operator is no more in v13.* so we have to adopt run_async in Handler as parameter.
Well I think this is enough on this PR and update in bot, I will be working hard to fix all bugs and bring new features soon.
You can have a peak at what feature is going to come next in bot on #6 issue. You can also report any bugs you face and suggest us issues on issues section.
I was trying to fix warnings, fix bugs and bring new feature to this bot since I created but couldn't get time. But somehow I got time occasionally and tried to fix bugs and warnings but couldn't bring new features. And this time I managed to get 2 days free to finish all work on this bot, so I can move on to other bots as well. So today I have done these all.
Bug Fixes:
Well, I have created a list of bug list #5
Features:
I'm trying to bring new features from this list #6
Change in code base:
Bot module has been edited to adapt python-telegram-bot v13 More info can be found here on official migration guide.
def fun(update, context)
is nowdef fun(update:Update, context: CallbackContext)
Filters.groups
is nowFilters.chat_type.groups
@run_async
operator is no more in v13.* so we have to adopt run_async in Handler as parameter.Well I think this is enough on this PR and update in bot, I will be working hard to fix all bugs and bring new features soon. You can have a peak at what feature is going to come next in bot on #6 issue. You can also report any bugs you face and suggest us issues on issues section.