|
@@ -42,7 +42,7 @@ $ cp sample_config.py config.py
|
|
|
```
|
|
```
|
|
|
Edit **config.py** with your own values
|
|
Edit **config.py** with your own values
|
|
|
|
|
|
|
|
-# Run
|
|
|
|
|
|
|
+# Run Directly
|
|
|
```sh
|
|
```sh
|
|
|
$ python3 -m wbb
|
|
$ python3 -m wbb
|
|
|
```
|
|
```
|
|
@@ -56,7 +56,7 @@ $ git clone https://github.com/TheHamkerCat/WilliamButcherBot
|
|
|
|
|
|
|
|
$ cd WilliamButcherBot
|
|
$ cd WilliamButcherBot
|
|
|
|
|
|
|
|
-$ pip3 install -U -r requirements.txt
|
|
|
|
|
|
|
+$ pip3 install pyrogram TgCrypto
|
|
|
|
|
|
|
|
$ python3 str_gen.py
|
|
$ python3 str_gen.py
|
|
|
```
|
|
```
|
|
@@ -64,23 +64,22 @@ $ python3 str_gen.py
|
|
|
[](https://heroku.com/deploy?template=https://github.com/thehamkercat/WilliamButcherBot/)
|
|
[](https://heroku.com/deploy?template=https://github.com/thehamkercat/WilliamButcherBot/)
|
|
|
|
|
|
|
|
|
|
|
|
|
-## Docker
|
|
|
|
|
|
|
+# Docker
|
|
|
|
|
|
|
|
```sh
|
|
```sh
|
|
|
-$ git clone https://github.com/TheHamkerCat/WilliamButcherBot && cd WilliamButcherBot
|
|
|
|
|
|
|
+$ git clone https://github.com/TheHamkerCat/WilliamButcherBot
|
|
|
|
|
+
|
|
|
|
|
+$ cd WilliamButcherBot
|
|
|
|
|
|
|
|
$ cp sample_config.env config.env
|
|
$ cp sample_config.env config.env
|
|
|
```
|
|
```
|
|
|
Edit **config.env** with your own values
|
|
Edit **config.env** with your own values
|
|
|
|
|
|
|
|
-# Build & Run
|
|
|
|
|
-
|
|
|
|
|
```sh
|
|
```sh
|
|
|
$ sudo docker build . -t wbb
|
|
$ sudo docker build . -t wbb
|
|
|
|
|
|
|
|
$ sudo docker run wbb
|
|
$ sudo docker run wbb
|
|
|
```
|
|
```
|
|
|
-To stop use `CTRL+C`
|
|
|
|
|
|
|
|
|
|
## Note
|
|
## Note
|
|
|
|
|
|