mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
Merge pull request #29 from stanoswald/bugfix/pass-pwd-in-client
Forward server password to client opetion
This commit is contained in:
1 file changed
+3
@@ -188,6 +188,9 @@ export class TS3Client extends EventEmitter {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.client = new TS3FullClient(this.identity, addr, this.options.nickname, {
|
this.client = new TS3FullClient(this.identity, addr, this.options.nickname, {
|
||||||
|
// Forward server password to the protocol library so it can be
|
||||||
|
// included in clientinit for password-protected servers
|
||||||
|
serverPassword: this.options.serverPassword,
|
||||||
logger: {
|
logger: {
|
||||||
debug: (msg) => this.logger.debug(msg),
|
debug: (msg) => this.logger.debug(msg),
|
||||||
info: (msg) => this.logger.info(msg),
|
info: (msg) => this.logger.info(msg),
|
||||||
|
|||||||
Reference in new issue
Block a user