
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
cmr1-ts3-bot
Advanced tools
A simple bot framework for TeamSpeak3
npm install cmr1-ts3-bot --save
// Require cmr1-ts3-bot
const Bot = require('cmr1-ts3-bot');
// Create a new bot with desired configuration (these are the default values)
const bot = new Bot({
sid: 1,
name: 'Woodhouse',
user: 'serveradmin',
pass: 'password',
host: '127.0.0.1',
port: 10011,
channel: 'Default Channel',
verbose: false
});
// Initialize the bot (callback is optional)
bot.init((err) => {
if (err) // Something didn't work
else // The bot is alive!
});
// Listen for the bot's "ready" event (emitted after succesfull "init")
bot.on('ready', () => {
// Send a message to the TS3 main server chat
bot.server.message('Ready for service');
});
// Listen for the bot's "join" event (the bot will automatically join the channel specified)
bot.on('join', channel => {
// Send a message to the channel that the bot has now joined
channel.message('I have joined this channel!');
});
// Register a command for this bot that can be invoked in the channel chat
bot.channelCommand('ping', (args, context) => {
// When someone says "ping" in the bot's channel, reply to that channel with "pong"
bot.channel.message('pong');
});
The bot can be configured when created (as shown above) or using environment variables:
# Bot Settings
BOT_VERBOSE=0
BOT_NAME=Woodhouse
# TS3 Settings
TS3_SID=1
TS3_USER=serveradmin
TS3_PASS=password
TS3_CHANNEL=Default Channel
TS3_HOST=127.0.0.1
TS3_PORT=10011
init
disconnect
shutdown
getServerGroupByName
getServer
getClientById
getClientByName
getChannelById
getChannelByName
globalCommand
clientCommand
channelCommand
serverCommand
messageClient
messageChannel
messageServer
ready
join
action
unknowncommand
cliententerview
clientleftview
cliententerchannel
clientleftchannel
warning
failure
FAQs
TS3 bot
The npm package cmr1-ts3-bot receives a total of 7 weekly downloads. As such, cmr1-ts3-bot popularity was classified as not popular.
We found that cmr1-ts3-bot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.