Skip to content

Commit 8fa3a17

Browse files
authored
Merge pull request #23 from zbejas/dev
Improved README.md
2 parents c031620 + b4f1b7b commit 8fa3a17

1 file changed

Lines changed: 22 additions & 15 deletions

File tree

README.md

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The bot was made to simplify watch parties with friends. It is also useful for t
1919
This project is still in development, so expect bugs and missing features. If you find any issues, please report them in the [Issues](https://github.com/zbejas/orbiscast/issues) section.
2020

2121
> [!CAUTION]
22-
> I am not responsible for any misuse of this tool. Ensure to comply with all applicable copyright laws and obtain necessary permissions for the IPTV content being streamed. This tool is intended for educational and testing purposes only.
22+
> I am not responsible for any misuse of this tool. Ensure to comply with all applicable copyright laws and obtain necessary permissions for the IPTV content being streamed.
2323
>
2424
> _Using self-bots is against [Discord's terms of service](https://discord.com/guidelines) and may result in account termination. Use at your own risk._
2525
@@ -29,7 +29,6 @@ This project is still in development, so expect bugs and missing features. If yo
2929

3030
You will need to set a few things up before you can run the bot:
3131

32-
- **Note**: Do not share any of the tokens [mentioned below](#discord-configuration) with anyone. If you do, regenerate them immediately.
3332
- Create a bot on the [Discord Developer Portal](https://discord.com/developers/applications) and get the bot token, and invite the bot to your server.
3433
- You can follow the instructions [here](https://discordpy.readthedocs.io/en/stable/discord.html) to create a bot and get the token and invite link. Make sure to give the bot the necessary permissions:
3534
- `bot`
@@ -42,8 +41,12 @@ You will need to set a few things up before you can run the bot:
4241
- **Note**: Be careful when using any third-party tools to get your user token, as they may be malicious. I recommend using the method in the gist.
4342
- Create a `.env` file in the project directory and fill in the required environment variables (see below). You can use the provided `.env.example` file as a template.
4443

45-
> [!Warning]
46-
> Note that in my testing, I've been using [Threadfin](https://github.com/Threadfin/Threadfin) as my IPTV provider. I'm not sure if it works with other providers, but it theoretically should. Also, this tool was not built or tested with a large number of channels in mind, so it may not work as expected if you overload it with data.
44+
> [!WARNING]
45+
> Do not share any of the tokens mentioned above with anyone. If you do, regenerate them immediately by:
46+
>
47+
> - Regenerating the bot token in the [Discord Developer Portal](https://discord.com/developers/applications).
48+
> - Regenerating the user token by logging out and back in to Discord.
49+
> - If you used incognito mode to get the token, you can go to Discord Settings > Devices > Log out of all known devices (or just log out of the specific session).
4750
4851
### Docker
4952

@@ -62,23 +65,23 @@ or to run it in the background:
6265
docker compose up -d
6366
```
6467

65-
You can check the logs using:
66-
67-
```bash
68-
docker compose logs -f
69-
```
70-
71-
_The `-f` flag is optional and is used to follow the logs._
68+
> [!TIP]
69+
> You can check the logs using:
70+
>
71+
> ```bash
72+
> docker compose logs -f
73+
> ```
74+
>
75+
> _The `-f` flag is optional and is used to follow the logs._
7276
7377
All of the app data is stored in `/app/data`. The cache is stored in `/app/cache` or RAM, depending on the `RAM_CACHE` and `CACHE_DIR` environment variables.
7478
7579
You can check the available tags on the [Docker Hub page](https://hub.docker.com/r/zbejas/orbiscast/tags?ordering=name).
7680
7781
### Manual
7882
79-
> [!Warning]
80-
> _The following instructions are for running the bot manually. If you are using Docker, you can skip this section. [Bun](https://bun.sh/) is required. You can install it following the instructions on the website._
81-
83+
> [!IMPORTANT]
84+
> The following instructions are for running the bot manually. If you are using Docker, you can skip this section. [Bun](https://bun.sh/) is required, so make sure to install it before proceeding.
8285
8386
The project can also be run manually. To do so, first download the project and install the dependencies:
8487
@@ -133,10 +136,14 @@ The bot can be controlled using the following commands:
133136
| `/stop` | Stop the current stream. |
134137
| `/refresh <type>` | Refresh the specified data. Type can be "all", "channels", or "programme". |
135138

136-
_The available channels will be shown when tab-completing the channel name, but only up to 25 channels will be shown at a time, since Discord limits the number of options in a command. Use the `/channels` command to see all available channels, and then either navigate from there or use the channel name directly._
139+
> [!TIP]
140+
> The available channels will be shown when tab-completing the channel name, but only up to 25 channels will be shown at a time, since Discord limits the number of options in a command. Use the `/channels` command to see all available channels, and then either navigate from there or use the channel name directly.
137141
138142
## Known Issues
139143

140144
If your issue is not listed here and you think it should be, please check the [Issues](https://github.com/zbejas/orbiscast/issues) section. If it is not there, please open a new issue.
141145

142146
- The streamer hangs if the stream is killed from the source side. I have not yet found a way to detect this, so the only remedy is to restart the bot for now.
147+
148+
> [!NOTE]
149+
> In my testing, I've been using [Threadfin](https://github.com/Threadfin/Threadfin) as my IPTV provider. I'm not sure if it works with other providers, but it theoretically should. Also, this tool was not built or tested with a large number of channels in mind, so it may not work as expected if you overload it with data.

0 commit comments

Comments
 (0)