mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-12-28 12:50:44 +00:00
toc best practice
This commit is contained in:
parent
f0428c6543
commit
1c19620a5a
@ -47,7 +47,7 @@ If a Bot command needs more than 2-3 lines of code I recommend to factor it out
|
||||
[...]
|
||||
esac
|
||||
```
|
||||
Doing it this way keeps command.sh small and clean, while allowing complex tasks to be done in the included function. example mybotcommands.inc.sh:
|
||||
Doing it this way keeps command.sh small and clean, while allowing complex tasks to be done in the included function. example ```mybotcommands.inc.sh```:
|
||||
```bash
|
||||
#!/bin/bash
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user