Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Releases: danyspin97/PhpBotFramework

v2.0.2 Bug fixes and MultiCharacterCommand

31 May 21:10
Compare
Choose a tag to compare
  • Documentation improvement
  • MultiCharacterCommand
  • Bug fixes

v2.0.1

07 Mar 19:58
Compare
Choose a tag to compare

Add admin commands, improve files sending.

Version 2.0.0 - new major version

04 Mar 11:33
Compare
Choose a tag to compare
  • Reworked all framework
  • Split Bot and CoreBot classes in different classes and traits to improve modularity
  • Improved multi language support by adding getStr method to get a localized string
  • Save all localized strings in json files and load them using loadAllLanguages or loadSingleLanguage methods
  • Database handling has been improved by adding some methods (connect, addUser)
  • Broadcast a message to all bot users
  • Redis cannot be used anymore as stand alone database for containing user languages
  • Send file along with api methods whetever they are, they will be handled automatically
  • Upload files along with api request, send local image as photo just by sending its local path
  • Added PHPStan as checker to fix majority of bugs
  • Improved design by appling "composition over inheritance" principle
  • Improved documentation
  • Added simple unit testing
  • Added variuos example
  • Fixed many bugs

v1.1.2

07 Dec 21:56
Compare
Choose a tag to compare

Changelog:

  • New inline keyboard buttons creation
  • setUpdateReturned
  • Bug fixes

v1.1.1 Bug fixes

02 Dec 23:09
Compare
Choose a tag to compare

Changes:

  • Changed Bot::$inline_keyboard to Bot::$keyboard
  • Fixed InlineKeyboard::getChooseLanguageKeyboard
  • Documentation improved

v1.1.0 Helper functions and improved documentation

02 Dec 21:25
Compare
Choose a tag to compare

New features:

  • State example
  • Load localization from a directory and save it in $local
  • Broadcast a message to all user registred into the bot
  • Add a user to the database
  • Find all hashtags in a string

Callback commands and adjustments

06 Nov 10:46
Compare
Choose a tag to compare

Added callback commands, sendVoice method, changed parameters order for editMessageText, added callback commands documentation, improved method documentation, removed reference where not needed, changed InlineKeyboard::getCompositeListKeyboard to InlineKeyboard::addCompositeListKeyboard.

Bug fixes

06 Nov 10:44
Compare
Choose a tag to compare
v1.0.1

Added initBot, fixed command error

First release

01 Nov 16:17
Compare
Choose a tag to compare

First release of the framework, with all the components needed to create a bot.
Support for the most important api methods, for both getUpdates and webhook, for multilanguage bot and multistate bot, implements a command-handle system.