This commit is contained in:
ale 2020-03-20 00:21:41 +01:00
parent 47832e9fda
commit 6022e46f01
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ yarn or npm i
```
# Run
```
node record.js <server> <nick>
node record.js <server> <nick> <channel>
```
# Example
```

View File

@ -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({