Skip to content

Commit c31d5c0

Browse files
committed
Version 0.6.0, update changelog and add a few touch-ups.
1 parent c7dcac7 commit c31d5c0

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

.env.example

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ TG_LOGGING='{"error": "${TG_LOGS_DIR}/error.log", "update": "${TG_LOGS_DIR}/upda
2323

2424
# Database
2525
TG_DB_HOST='localhost'
26+
TG_DB_PORT=3306
2627
TG_DB_USER='root'
2728
TG_DB_PASSWORD='root'
2829
TG_DB_DATABASE='tgbot'

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
1111
### Fixed
1212
### Security
1313

14+
## [0.6.0] - 2020-07-06
15+
### Added
16+
- New `/donate` command, to allow users to donate via Telegram Payments. (#40)
17+
- GitHub authentication to prevent hitting limits. (#41)
18+
### Changed
19+
- Link to the `/rules` command in the welcome message. (#42)
20+
1421
## [0.5.0] - 2019-11-24
1522
### Added
1623
- Description for commands. (#35)
@@ -51,6 +58,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
5158
- Extended `.env.example` file.
5259

5360
[Unreleased]: https://github.com/php-telegram-bot/support-bot/compare/master...develop
61+
[0.6.0]: https://github.com/php-telegram-bot/support-bot/compare/0.5.0...0.6.0
5462
[0.5.0]: https://github.com/php-telegram-bot/support-bot/compare/0.4.0...0.5.0
5563
[0.4.0]: https://github.com/php-telegram-bot/support-bot/compare/0.3.0...0.4.0
5664
[0.3.0]: https://github.com/php-telegram-bot/support-bot/compare/0.2.0...0.3.0

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ Assistant bot for the [PHP Telegram Bot Support] group.
77
- `/help`: A short description of the bot and a list of all available commands.
88
- `/id`: Display the user and chat information. Also, try forwarding any message from a channel to display the channel information.
99
- `/rules`: Show the rules that apply in the support group.
10+
- `/donate`: Donate to the project using Telegram Payments.
1011

1112
[PHP Telegram Bot Support]: https://t.me/PHP_Telegram_Bot_Support "@PHP_Telegram_Bot_Support"

commands/IdCommand.php

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ class IdCommand extends UserCommand
3333
*/
3434
protected $description = 'Get all identifying information about the current user and chat';
3535

36+
/**
37+
* @var string
38+
*/
39+
protected $usage = '/id or forward any message to @PHP_Telegram_Support_Bot';
40+
3641
/**
3742
* @var string
3843
*/

0 commit comments

Comments
 (0)