Skip to content

Commit 2a80ae3

Browse files
authored
Merge pull request #46 from php-telegram-bot/Hitmare-update-rules_08-06-2021
Update of Rules
2 parents 8c3329f + 20de622 commit 2a80ae3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
55

66
## [Unreleased]
77
### Added
8+
- Rules notice to use Pastebin instead of posting code directly.
89
### Changed
910
### Deprecated
1011
### Removed

commands/RulesCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ public function execute(): ServerResponse
120120
**:robot: No Bots**
121121
Please do not add a Bot inside this Chat without asking the Admins first. Feel free to mention the Bot in a Message
122122
123+
**:paper: Use Pastebin to post Source Code**
124+
If you want to share your Code for troubleshooting, please upload it to [Pastebin](https://pastebin.com) and post the link. Don't send longer code parts directly in the Chat.
125+
123126
Also keep in mind that the [PHP Telegram Bot Support Chat](https://t.me/PHP_Telegram_Bot_Support) applies only for the [PHP Telegram Bot library](https://github.com/php-telegram-bot/core).
124127
";
125128

0 commit comments

Comments
 (0)