mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-04-28 09:15:57 +00:00
Update README again
This commit is contained in:
parent
924ca1aae4
commit
80a0bc08ad
15
README.md
15
README.md
@ -39,6 +39,9 @@ After editing the file, save all changes and run the bot with ``npm start``.
|
|||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> Please complete the above steps to prepare your local copy for building. You do not need to install FFmpeg on your host system.
|
> Please complete the above steps to prepare your local copy for building. You do not need to install FFmpeg on your host system.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> Using the `-d` flag when running causes Kowalski to run in the background. If you're just playing around or testing, you may not want to use this flag.
|
||||||
|
|
||||||
You can also run Kowalski using Docker, which simplifies the setup process. Make sure you have Docker and Docker Compose installed.
|
You can also run Kowalski using Docker, which simplifies the setup process. Make sure you have Docker and Docker Compose installed.
|
||||||
|
|
||||||
### Using Docker Compose
|
### Using Docker Compose
|
||||||
@ -51,9 +54,6 @@ You can also run Kowalski using Docker, which simplifies the setup process. Make
|
|||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> The `-d` flag causes Kowalski to run in the background. If you're just playing around, you may not want to use this flag.
|
|
||||||
|
|
||||||
### Using Docker Run
|
### Using Docker Run
|
||||||
|
|
||||||
If you prefer to use Docker directly, you can use these instructions instead.
|
If you prefer to use Docker directly, you can use these instructions instead.
|
||||||
@ -72,10 +72,9 @@ If you prefer to use Docker directly, you can use these instructions instead.
|
|||||||
docker run -d --name kowalski --restart unless-stopped -v $(pwd)/config.env:/usr/src/app/config.env:ro kowalski
|
docker run -d --name kowalski --restart unless-stopped -v $(pwd)/config.env:/usr/src/app/config.env:ro kowalski
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> The `-d` flag causes Kowalski to run in the background. If you're just playing around, you may not want to use this flag.
|
|
||||||
|
|
||||||
## config.env Functions
|
## config.env Functions
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> Take care of your ``config.env`` file, as it is so much important and needs to be secret (like your passwords), as anyone can do whatever they want to the bot with this token!
|
||||||
|
|
||||||
- **botSource**: Put the link to your bot source code.
|
- **botSource**: Put the link to your bot source code.
|
||||||
- **botPrivacy**: Put the link to your bot privacy policy.
|
- **botPrivacy**: Put the link to your bot privacy policy.
|
||||||
@ -85,10 +84,6 @@ If you prefer to use Docker directly, you can use these instructions instead.
|
|||||||
- **lastKey**: Last.fm API key, for use on `lastfm.js` functions, like see who is listening to what song and etc.
|
- **lastKey**: Last.fm API key, for use on `lastfm.js` functions, like see who is listening to what song and etc.
|
||||||
- **weatherKey**: Weather.com API key, used for the `/weather` command.
|
- **weatherKey**: Weather.com API key, used for the `/weather` command.
|
||||||
|
|
||||||
## Note
|
|
||||||
|
|
||||||
- Take care of your ``config.env`` file, as it is so much important and needs to be secret (like your passwords), as anyone can do whatever they want to the bot with this token!
|
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
### YouTube Downloading
|
### YouTube Downloading
|
||||||
|
Loading…
x
Reference in New Issue
Block a user