This bot relies on the outstanding contributions from:
- This project is still under development, additional dependencies may be added in the future.
- Create a
config.json
file in thesrc
directory. Here's an example:
{
"token": "xxxxxxxxxxxxxxxxxxxxx-user-token-non-bot",
"acceptedAuthors": ["xxxxxxxxxxxxxxxxxxxxx"],
"serverOpts": {
"voiceChannelId": "xxxxxxxxxxxxxxxxxxxxx"
},
"streamOpts": {
"width": 1280,
"height": 720,
"fps": 30,
"bitrateKbps": 1000,
"maxBitrateKbps": 2500,
"hardware_acceleration": false,
"videoCodec": "H264"
}
}
- Execute the Docker Build and Run commands. All necessary dependencies are preconfigured in the
Dockerfile
:
docker build --platform=linux/amd64 -t discord-ani-streamer:devel . && docker run -it --rm --platform=linux/amd64 discord-ani-streamer:devel
- In the Discord channel, use the following command:
$ani-stream test
# Note: For development and testing purposes, the command arguments are hardcoded
- After making code changes, repeat the build and test process using the above commands.