mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-22 15:35:09 +00:00
bashbot in a nutshell
This commit is contained in:
parent
5296820753
commit
83892b7924
10
README.md
10
README.md
@ -59,19 +59,19 @@ Bashbot [Documentation](https://github.com/topkecleon/telegram-bot-bash) and [Do
|
|||||||
* [Examples](examples/README.md)
|
* [Examples](examples/README.md)
|
||||||
|
|
||||||
### Your really first bashbot in a nutshell
|
### Your really first bashbot in a nutshell
|
||||||
To install an run bashbot you need acess to a linux/unix/bsd command line. If you don't know how to get accces to a linux/unix/bsd like command line you should stop reading here :-(
|
To install and run bashbot you need acess to a linux/unix/bsd command line. If you don't know how to get accces to a linux/unix/bsd like command line you should stop reading here :-(
|
||||||
|
|
||||||
In addition you need a [Telegram client](https://telegram.org) and a mobile phone to [register an account](https://telegramguide.com/create-a-telegram-account/).
|
In addition you need a [Telegram client](https://telegram.org) and a mobile phone to [register an account](https://telegramguide.com/create-a-telegram-account/).
|
||||||
If you don't want to register for Telegram you should stop reading here ;-)
|
If you don't want to register for Telegram you should stop reading here ;-)
|
||||||
|
|
||||||
After you are registered to Telegram send a message to [@botfather](https://telegram.me/botfather) to
|
After you're registered to Telegram send a message to [@botfather](https://telegram.me/botfather),
|
||||||
[create a new Telegram Bot token](doc/1_firstbot.md) and write it down. You need it later to install the bot.
|
[create a new Telegram Bot token](doc/1_firstbot.md) and write it down. You need the token to install the bot.
|
||||||
|
|
||||||
Now open a linux/unix/bsd terminal and check if bash is installed: ```which bash && echo "bash installed!"```.
|
Now open a linux/unix/bsd terminal and check if bash is installed: ```which bash && echo "bash installed!"```.
|
||||||
If you get an error message bash is not installed.
|
If you get an error message bash is not installed.
|
||||||
|
|
||||||
Create a new directory and change to it: ```mkdir tbb; cd tbb``` and download the latest '*.tar.gz' file from
|
Create a new directory and change to it: ```mkdir tbb; cd tbb``` and download the latest '*.tar.gz' file from
|
||||||
```https://github.com/topkecleon/telegram-bot-bash/releases```. This can be done with the commands:
|
[https://github.com/topkecleon/telegram-bot-bash/releases](https://github.com/topkecleon/telegram-bot-bash/releases). This can be done with the commands:
|
||||||
```bash
|
```bash
|
||||||
wget -q https://github.com/$(wget -q https://github.com/topkecleon/telegram-bot-bash/releases/latest -O - | egrep '/.*/.*/.*tar.gz' -o)
|
wget -q https://github.com/$(wget -q https://github.com/topkecleon/telegram-bot-bash/releases/latest -O - | egrep '/.*/.*/.*tar.gz' -o)
|
||||||
```
|
```
|
||||||
@ -149,4 +149,4 @@ Hey no Problem, if you are finished with your cool bot run ```dev/make-standalon
|
|||||||
|
|
||||||
If you feel that there's something missing or if you found a bug, feel free to submit a pull request!
|
If you feel that there's something missing or if you found a bug, feel free to submit a pull request!
|
||||||
|
|
||||||
#### $$VERSION$$ v0.80-6-g5fa7b2e
|
#### $$VERSION$$ v0.80-7-gad98a6c
|
||||||
|
Loading…
Reference in New Issue
Block a user