Skip to content

Commit

Permalink
Version 0.6.0, update changelog and add a few touch-ups.
Browse files Browse the repository at this point in the history
  • Loading branch information
noplanman committed Jul 6, 2020
1 parent c7dcac7 commit c31d5c0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ TG_LOGGING='{"error": "${TG_LOGS_DIR}/error.log", "update": "${TG_LOGS_DIR}/upda

# Database
TG_DB_HOST='localhost'
TG_DB_PORT=3306
TG_DB_USER='root'
TG_DB_PASSWORD='root'
TG_DB_DATABASE='tgbot'
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
### Fixed
### Security

## [0.6.0] - 2020-07-06
### Added
- New `/donate` command, to allow users to donate via Telegram Payments. (#40)
- GitHub authentication to prevent hitting limits. (#41)
### Changed
- Link to the `/rules` command in the welcome message. (#42)

## [0.5.0] - 2019-11-24
### Added
- Description for commands. (#35)
Expand Down Expand Up @@ -51,6 +58,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
- Extended `.env.example` file.

[Unreleased]: https://github.com/php-telegram-bot/support-bot/compare/master...develop
[0.6.0]: https://github.com/php-telegram-bot/support-bot/compare/0.5.0...0.6.0
[0.5.0]: https://github.com/php-telegram-bot/support-bot/compare/0.4.0...0.5.0
[0.4.0]: https://github.com/php-telegram-bot/support-bot/compare/0.3.0...0.4.0
[0.3.0]: https://github.com/php-telegram-bot/support-bot/compare/0.2.0...0.3.0
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ Assistant bot for the [PHP Telegram Bot Support] group.
- `/help`: A short description of the bot and a list of all available commands.
- `/id`: Display the user and chat information. Also, try forwarding any message from a channel to display the channel information.
- `/rules`: Show the rules that apply in the support group.
- `/donate`: Donate to the project using Telegram Payments.

[PHP Telegram Bot Support]: https://t.me/PHP_Telegram_Bot_Support "@PHP_Telegram_Bot_Support"
5 changes: 5 additions & 0 deletions commands/IdCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ class IdCommand extends UserCommand
*/
protected $description = 'Get all identifying information about the current user and chat';

/**
* @var string
*/
protected $usage = '/id or forward any message to @PHP_Telegram_Support_Bot';

/**
* @var string
*/
Expand Down

0 comments on commit c31d5c0

Please sign in to comment.