Socket
Book a DemoInstallSign in
Socket

tsobot

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsobot

TeamSpeak 3 Bot

1.0.3
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

TSOBot

This is a notification bot for TeamSpeak 3 servers. It sends a notification via Telegram once new users join a specific TS3 server.

Installation

  • Before installing TSBot, make sure to set the right b_virtualserver_notify_register for guests on you TS3 server.

  • Create a new Telegram bot by sending a message to @Botfather in Telegram. He'll send you your Bot API key and gives you all information you need to run your bot. You'll find further information concerning bots at Telegram.

  • TSOBot utilizes MongoDB to store active subscriptions. Therefore a running MongoDB instance is mandatory. Download and install it from here.

  • Go ahead and install TSOBot via npm:

    npm install tsobot
    
  • Navigate to the folder of the newly installed TSOBot module. Create a new settings.json file by copying the existing settingsExample.json and fill it with your personal settings:

  • botApiKey: You'll receive this from Telegrams @Botfather.
  • mongooseConnection: Connection string for your MongoDB database.
  • server: IP or hostname of your TS3 server.
  • port: TS3 server port. If empty, default port will be used (9987).
  • queryPort: TS3 ServerQuery port. If empty, default port will be used (10011).
  • Run npm start in context of your node_modules/tsobot folder to start the bot.

Usage

These commmands are supported:

  • /help - Show this help.
  • /start - Initial command to start conversation with the bot.
  • /stop or /stahp - Omit this command and you'll never hear anything again from the bot. All your subscriptions will be deleted.
  • /subscribeall - Get notified if any user connects to the TS3 server.
  • /unsubscribeall - Don't get notified for every user that joins the server. If you subscribed to specific users, you'll keep getting notifications for them.
  • /subscribe username - Get notified if the specified username joins the server.
  • /unsubscribe username - Don't get notified if the specified username joins the server.
  • /subscriptions - Show all active subscriptions.

Development

TSOBot was developed on node.js with ES2015.

It works thanks to these node packages:

  • node-teamspeak
  • node-telegram-bot-api
  • mongoose

FAQs

Package last updated on 30 Jan 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.