You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-15Lines changed: 22 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ The bot was made to simplify watch parties with friends. It is also useful for t
19
19
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.
20
20
21
21
> [!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.
23
23
>
24
24
> _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._
25
25
@@ -29,7 +29,6 @@ This project is still in development, so expect bugs and missing features. If yo
29
29
30
30
You will need to set a few things up before you can run the bot:
31
31
32
-
-**Note**: Do not share any of the tokens [mentioned below](#discord-configuration) with anyone. If you do, regenerate them immediately.
33
32
- 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.
34
33
- 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:
35
34
-`bot`
@@ -42,8 +41,12 @@ You will need to set a few things up before you can run the bot:
42
41
-**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.
43
42
- 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.
44
43
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).
47
50
48
51
### Docker
49
52
@@ -62,23 +65,23 @@ or to run it in the background:
62
65
docker compose up -d
63
66
```
64
67
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._
72
76
73
77
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.
74
78
75
79
You can check the available tags on the [Docker Hub page](https://hub.docker.com/r/zbejas/orbiscast/tags?ordering=name).
76
80
77
81
### Manual
78
82
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.
82
85
83
86
The project can also be run manually. To do so, first download the project and install the dependencies:
84
87
@@ -133,10 +136,14 @@ The bot can be controlled using the following commands:
133
136
|`/stop`| Stop the current stream. |
134
137
|`/refresh <type>`| Refresh the specified data. Type can be "all", "channels", or "programme". |
135
138
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.
137
141
138
142
## Known Issues
139
143
140
144
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.
141
145
142
146
- 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