https://github.com/fwcd/discast
Discord bot that forwards an audio stream to a voice channel
https://github.com/fwcd/discast
audio discordjs streaming voice
Last synced: 12 days ago
JSON representation
Discord bot that forwards an audio stream to a voice channel
- Host: GitHub
- URL: https://github.com/fwcd/discast
- Owner: fwcd
- License: mit
- Created: 2022-03-26T00:09:03.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-26T00:12:49.000Z (about 4 years ago)
- Last Synced: 2026-02-15T16:40:22.323Z (3 months ago)
- Topics: audio, discordjs, streaming, voice
- Language: TypeScript
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discast
[](https://github.com/fwcd/discast/actions/workflows/build.yml)
A Discord bot that forwards audio streams to a voice channel.
## Usage
First run `npm install` to install the dependencies and then `npm run build` to compile (or `npm run watch` to compile continuously on file changes). To run, make sure to set the following environment variables:
```sh
export BOT_TOKEN=[your token]
export VOICE_CHANNEL_ID=[id of the voice channel]
export STREAM_URL=[url pointing to your stream]
```
Then run `npm start`.