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