Scripts for the sinusbot musicbot
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.jshintrc
README.md
away_mover.js
custom_commands.js
group_list.js
join_leave.js
jsconfig.json
package-lock.json
package.json
uptimerobot.js

README.md

sinusbot scripts

This repository contains a few scripts that I wrote for the SinusBot.

Installation

  1. Download the script and put it in the scripts folder where the SinusBot is installed
  2. Restart the SinusBot
  3. Go to your web-interface: Settings -> Scrips and enable the script by checking the box next to it
  4. configure the script as you like (by clicking on the arrow to show the options)
  5. Click on Save changes at the bottom of the page

Scripts

Simple custom commands

This is a simple script that allows you to create your own commands with custom responses.

See forum thread for more information/discussion.

Config

In the config the following placeholders can be used:

  • %username%
  • %uid%
  • %dbid%
  • %description%
  • %ping%
  • %total_connections%
  • %packetloss%
  • %bytes_sent%
  • %bytes_received%
  • %ip%
  • %first_join%
  • %os%
  • %version%
  • %clients_count%
  • %clients%
  • %channels_count%

Join/Leave

This script adds the commands !join and !leave that make the bot join or leave your channel.

See forum thread for more information/discussion.

AFK mover (Away/Mute/Deaf/Idle)

This script moves clients that are set as away, have their speakers/mic muted or are idle to a specified channel.

See forum thread for more information/discussion.

Uptimerobot - Server Status/Uptime Monitoring

Informs you about the status of a server configured on uptimerobot.com

See forum thread for more information/discussion.

Config

In the config the following placeholders can be used:

  • %name%
  • %uptime%
  • %url%
  • %port%
  • %type%
  • %status%
  • %id%
  • %created%
  • %ssl.brand%
  • %ssl.product%
  • %ssl.expires%

Group List

List the servers groups and their IDs with the !groups command.

See forum thread for more information/discussion.

Troubleshooting

  • make sure that you have the latest version of the SinusBot (some scripts require at least version 1.0.0)
  • make sure that you have the latest version of this script
  • read the instructions above carefully and check if you've missed anything
  • If you've checked everything and it still doesn't work then you can ask for help in the discussion thread or open an issue on GitHub. But hold on for a second! Before you post: read this first and include all of the required information.