channel
This commit is contained in:
parent
47832e9fda
commit
6022e46f01
@ -7,7 +7,7 @@ yarn or npm i
|
|||||||
```
|
```
|
||||||
# Run
|
# Run
|
||||||
```
|
```
|
||||||
node record.js <server> <nick>
|
node record.js <server> <nick> <channel>
|
||||||
```
|
```
|
||||||
# Example
|
# Example
|
||||||
```
|
```
|
||||||
|
@ -12,7 +12,7 @@ mumble.connect(process.argv[2] || 'mastodon.madrid', options, (error, connection
|
|||||||
console.log('Connected')
|
console.log('Connected')
|
||||||
connection.authenticate(process.argv[3] || 'record')
|
connection.authenticate(process.argv[3] || 'record')
|
||||||
connection.on('initialized', () => {
|
connection.on('initialized', () => {
|
||||||
chan = connection.channelByName('Root')
|
chan = connection.channelByName(process.argv[4] || 'Root')
|
||||||
chan.join()
|
chan.join()
|
||||||
})
|
})
|
||||||
const encoder = new lame.Encoder({
|
const encoder = new lame.Encoder({
|
||||||
|
Loading…
Reference in New Issue
Block a user