Skip to content

Commit c1b0996

Browse files
committed
Formattig README
1 parent d846fa4 commit c1b0996

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,15 @@ Commads
165165
The bot is able to recognise commands in chat with multiple bot.
166166
It can execute command triggering a chat event. Here's the list:
167167

168-
-Groupchatcreated (GroupchatcreatedCommand.php)
169-
-Newchatparticipant (NewchatparticipantCommand.php)
170-
-Deletechatphoto (DeletechatphotoCommand.php)
171-
-Newchattitle (NewchattitleCommand.php)
172-
-Leftchatparticipant (LeftchatparticipantCommand.php)
168+
- Group chat created (**GroupchatcreatedCommand.php**)
169+
- New chat participant (**NewchatparticipantCommand.php**)
170+
- Delete chat photo (**DeletechatphotoCommand.php**)
171+
- New chat title (**NewchattitleCommand.php**)
172+
- Left chat participant (**LeftchatparticipantCommand.php**)
173173

174-
GenericCommand.php let you handle commands that non exist or use commands as var:
175-
Favourite colour? /black /red
176-
Favourite number? /1 /134
174+
**GenericCommand.php** let you handle commands that non exist or use commands as var:
175+
Favourite colour? **/blac /red**
176+
Favourite number? **/1 /134 **
177177

178178

179179
Maybe you would like to develop your own commands. A good practice is to store them outside vendor/. This can be done adding before the method:
@@ -188,7 +188,7 @@ $telegram->addCommandsPath($COMMANDS_FOLDER);
188188

189189
Send message to all active chats (new!)
190190
---------------------------------------
191-
To do this you have to enable the mysql connections.
191+
To do this you have to enable the mysql connection.
192192
Here's an example of use:
193193

194194
```php

0 commit comments

Comments
 (0)