0.4.1 • Published 8 months ago

discord-audio-stream v0.4.1

Weekly downloads
-
License
CUSTOM-LICENSE
Repository
github
Last release
8 months ago

Discord Audio Stream

npm GitHub package.json version GitHub Repo stars

This module is designed to work with discord.js v14. This package doesn't support older versions!

👋 Support

Please create an issue on github or write fraujulian on discord!

📝 Usage

Install package

npm i discord-audio-stream

Code Snippet - Start

const AudioStream = require("discord-audio-stream");

AudioStream.startAudio({
    VoiceChannelID: 0, //Integer | voice channel id | e.g. interaction.member.voice.channel.id
    GuildID: 0, //Integer | guild id | e.g. interaction.guild.id
    VoiceAdapter: 0, //Integer | aoice adapter creator | e.g. interaction.guild.voiceAdapterCreator
    Type: "", //String | choose the Audio Resource | File or Link
    Resource: "", //String | audio stream link or file location | e.g. https://synradiode.stream.laut.fm/synradiode
})

Code Snippet - Stop

const AudioStream = require("discord-audio-stream");

AudioStream.stopAudio({
    GuildID: 0, //Integer | guild id | e.g. interaction.guild.id
})

Code Snippet - Set Max Listeners

const AudioStream = require("discord-audio-stream");

AudioStream.setMaxAudioListeners({
    GuildID: 0, //Integer | guild id | e.g. interaction.guild.id
    MaxListeners: 0, //Integer | max Listeners | e.g. 30
})

📋 Credits:

~ FrauJulian.

🤝 Enjoy the package?

Give it a star ⭐ on github!

0.4.1

8 months ago

0.4.0

8 months ago

0.3.0

11 months ago

0.3.2

11 months ago

0.3.1

11 months ago

0.3.3

11 months ago

0.2.1

12 months ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago