Open DanielAlves123 opened 5 years ago
Hi!
This has already been implemented in version 1.2.0:
The selectVirtualServerById
and selectVirtualServerByPort
methods in TS3Api now have overloads with an additional nickname
parameter that allow you to join a virtual server with the specified nickname already set. An example:
api.selectVirtualServerByPort(9987, "SuperBot");
Hope this helps!
Server logs:
<23:15:42> "serveradmin from ip:port" connected to channel "channel" <23:15:42> "serveradmin from ip:port" is now known as "nickname" Private message: <23:15:42> "serveradmin from ip:port" rejoined chat. It should allow bot to connect already with set nickname. Maybe it works only if you have enabled 'Show ServerQuery Clients' option.