open-index/open-npm huggingface dataset:
npm package: @sinusbot-scripts/alone-mode
Description: This script will save CPU and bandwidth by stopping or muting the bot when nobody is listening anyways.
Author: SinusBot Contributors
Latest version: 3.4.0

[![Package CI/CD](https://github.com/SinusBot-Scripts/script-name/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/SinusBot-Scripts/script-name/actions/workflows/npm-publish.yml)
[![CodeQL](https://github.com/SinusBot-Scripts/script-name/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/SinusBot-Scripts/script-name/actions/workflows/codeql-analysis.yml)
![Version](https://img.shields.io/github/package-json/v/sinusbot-scripts/script-name)
![npm (scoped)](https://img.shields.io/npm/v/@sinusbot-scripts/script-name)

# Script Name

Script Description.


## TODO

#### Write Catra~Chan#0001 on Discord that you want to be part of the scripting team here

#### Replace the `script-name.js` with your script.

#### Replace `script-name` and the description.

##### Replace in:
- README.md
- package.json

#### Publish your repo
npm package: @sinusbot-scripts/discord-voice-state
Description: This plugin caches the voicestate of a webuser and checks if the bot is in the same channel as the webuser.
Author: Lala Sabathil
Latest version: 2.0.1

[![Package CI/CD](https://github.com/SinusBot-Scripts/Discord-Voice-State/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/SinusBot-Scripts/Discord-Voice-State/actions/workflows/npm-publish.yml)
[![CodeQL](https://github.com/SinusBot-Scripts/Discord-Voice-State/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/SinusBot-Scripts/Discord-Voice-State/actions/workflows/codeql-analysis.yml)
![Version](https://img.shields.io/github/package-json/v/sinusbot-scripts/discord-voice-state)
![npm (scoped)](https://img.shields.io/npm/v/@sinusbot-scripts/discord-voice-state)

# Discord Voice States

This plugin caches the voicestate of a webuser and checks if the bot is in the same channel as the webuser.

## API Calls
- POST `{URL}/api/v1/bot/i/{instance_id}/event/voicestate` (You must be logged in)

## Possible Errors
- NotLoggedIn: "You are not logged in"
- NotBound: "This account is not bound to a discord user"
- UserNotConnected: "You are not connected"
- NotConnected: "The bot is not connected" (Unused atm)
- NotSameChannel: "You are not in the same channel with the bot"

## Example Webscript
```js
function isConnectedToVoice(instance, response) {
    $.ajax({
        url: 'http://127.0.0.1:8087/api/v1/bot/i/' + instance + '/event/voicestate',
        method: 'POST',
        headers: {
            'Content-Type': 'application/json',
            'Authorization': 'bearer ' + window.localStorage.token
        }
    }).done(function (data) {
        if (data.length == 0) {

            console.log("Voice API Error: We did not received data!");

            response(false);

            return;
        }
        if (data[0].success) {
            response(data[0].success);
        } else {
            console.log("Voice Error: " + data[0].data);
            response(data[0].success);
        }
    });
}
```

```js
isConnectedToVoice("instance-uid", function(result) {
    if(result) {
        alert("Everything okay");
        // Do stuff
    } else {
        alert("Something went wrong. See console log.");
    }
});
```

### Returns

#### Error JSON:
```json
{
  "data": "Error",
  "success": false
}
```

#### Success JSON:
```json
{
  "data": {
    "channel": "809889361767956551",
    "connected": true,
    "user": "199858858166976513"
  },
  "success": true
}
```
![Preview1](https://forum.sinusbot.com/attachments/1623708297457-png.4407)
![Preview2](https://forum.sinusbot.com/attachments/1623708303454-png.4408)

## Example Script
```js
var store = require('store');
var event = require('event');

event.on('chat', ev => {
    let channel_id = store.getGlobal('voicestate-' + ev.user().uid().split("/").pop());
    if (channel_id != null) {
        // Do stuff with channel_id
    }
});
```
npm package: @sinusbot-scripts/fix-voice-connection
Description: This script fixes the Discord voice connection for the SinusBot automatically.
Author: Lala Sabathil
Latest version: 1.0.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

[![Package CI/CD](https://github.com/SinusBot-Scripts/fix-voice-connection/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/SinusBot-Scripts/fix-voice-connection/actions/workflows/npm-publish.yml)
[![CodeQL](https://github.com/SinusBot-Scripts/fix-voice-connection/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/SinusBot-Scripts/fix-voice-connection/actions/workflows/codeql-analysis.yml)
![Version](https://img.shields.io/github/package-json/v/sinusbot-scripts/fix-voice-connection)
![npm (scoped)](https://img.shields.io/npm/v/@sinusbot-scripts/fix-voice-connection)

# Reconnect

This script fixes the Discord voice connection for the SinusBot automatically.

Wanna join?

[![SinusBot Support](https://discord.com/api/guilds/152947849393471488/embed.png?style=banner1)](https://discord.gg/h6s5Ykc)
npm package: @sinusbot-scripts/reconnect
Description: This script reconnects the SinusBot automatically.
Author: Lala Sabathil
Latest version: 1.0.3

[![Package CI/CD](https://github.com/SinusBot-Scripts/Reconnect/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/SinusBot-Scripts/Reconnect/actions/workflows/npm-publish.yml)
[![CodeQL](https://github.com/SinusBot-Scripts/Reconnect/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/SinusBot-Scripts/Reconnect/actions/workflows/codeql-analysis.yml)
![Version](https://img.shields.io/github/package-json/v/sinusbot-scripts/reconnect)
![npm (scoped)](https://img.shields.io/npm/v/@sinusbot-scripts/reconnect)

# Reconnect

This script reconnects the SinusBot automatically.

Wanna join?

[![SinusBot Support](https://discord.com/api/guilds/152947849393471488/embed.png?style=banner1)](https://discord.gg/h6s5Ykc)
npm package: @sinusbot-scripts/script-name
Description: Script description.
Author: SinusBot Contributors
Latest version: 1.0.0

[![Package CI/CD](https://github.com/SinusBot-Scripts/script-name/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/SinusBot-Scripts/script-name/actions/workflows/npm-publish.yml)
[![CodeQL](https://github.com/SinusBot-Scripts/script-name/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/SinusBot-Scripts/script-name/actions/workflows/codeql-analysis.yml)
![Version](https://img.shields.io/github/package-json/v/sinusbot-scripts/script-name)
![npm (scoped)](https://img.shields.io/npm/v/@sinusbot-scripts/script-name)

# Script Name

Script Description.


## TODO

#### Write Catra~Chan#0001 on Discord that you want to be part of the scripting team here

#### Replace the `script-name.js` with your script.

#### Replace `script-name` and the description.

##### Replace in:
- README.md
- package.json

#### Publish your repo
npm package: @sinusbot-scripts/search-providers-youtube
Description: This script lets you search YouTube for the SinusBot.
Author: Lala Sabathil
Latest version: 1.0.0

[![Package CI/CD](https://github.com/SinusBot-Scripts/search-providers/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/SinusBot-Scripts/search-providers/actions/workflows/npm-publish.yml)
[![CodeQL](https://github.com/SinusBot-Scripts/search-providers/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/SinusBot-Scripts/search-providers/actions/workflows/codeql-analysis.yml)
![Version](https://img.shields.io/github/package-json/v/sinusbot-scripts/search-providers)
![npm (scoped)](https://img.shields.io/npm/v/@sinusbot-scripts/search-providers)

# YouTube Search Provider

This script lets you search YouTube for the SinusBot.

Wanna join?

[![SinusBot Support](https://discord.com/api/guilds/152947849393471488/embed.png?style=banner1)](https://discord.gg/h6s5Ykc)
npm package: @sinusbot-scripts/sinusbot-support
Description: This script powers the SinusBot Support Discord Server.
Latest version: 2.2.3

[![Package CI/CD](https://github.com/SinusBot-Scripts/SinusBot-Support/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/SinusBot-Scripts/SinusBot-Support/actions/workflows/npm-publish.yml)
[![CodeQL](https://github.com/SinusBot-Scripts/SinusBot-Support/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/SinusBot-Scripts/SinusBot-Support/actions/workflows/codeql-analysis.yml)
![Version](https://img.shields.io/github/package-json/v/sinusbot-scripts/sinusbot-support)
![npm (scoped)](https://img.shields.io/npm/v/@sinusbot-scripts/sinusbot-support)

# SinusBot Support Discord - Tools

This script powers the SinusBot Support Discord Server.

Wanna join?

[![SinusBot Support](https://discord.com/api/guilds/152947849393471488/embed.png?style=banner1)](https://discord.gg/h6s5Ykc)

Script originally wrote by [irgendwr](https://github.com/irgendwr/sinusbot-scripts).
npm package: @sinusbot-scripts/track-history
Description: Track song history.
Author: SinusBot Contributors
Latest version: 1.0.1

[![Package CI/CD](https://github.com/SinusBot-Scripts/Track-History/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/SinusBot-Scripts/Track-History/actions/workflows/npm-publish.yml)
[![CodeQL](https://github.com/SinusBot-Scripts/Track-History/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/SinusBot-Scripts/Track-History/actions/workflows/codeql-analysis.yml)
![Version](https://img.shields.io/github/package-json/v/sinusbot-scripts/track-history)
![npm (scoped)](https://img.shields.io/npm/v/@sinusbot-scripts/track-history)

# Track History

Track song history.


## TODO

#### Write Catra~Chan#0001 on Discord that you want to be part of the scripting team here

#### Replace the `script-name.js` with your script.

#### Replace `script-name` and the description.

##### Replace in:
- README.md
- package.json

#### Publish your repo
npm package: @sinval.junior/design-system
Description: A SCSS design system based on Bootstrap, to provide styling and theming to all Avenue Code products
Latest version: 2.10.1

# @ac-ui/design-system

A SCSS design system based on Bootstrap, to provide styling and theming to all Avenue Code products

# TODO
1. Set variables to all be `!default` to inherit any product overrides
2. Add editor config files
3. Add linting config files
4. Lint staged

# Installation
1. Install as a npm dependency `npm i @ac-ui/design-system.git`
2. Use within your SCSS
    - Want settings, mixins, extends, with no classes?
        - `@import "~@ac-ui/design-system/src/base";`
    - Want access to Bootstrap's grid classes?
        - No need to import the `required` partial!
        - `@import "~@ac-ui/design-system/src/bridge/grid";`
    - Want to load everything? Please reconsider.
        - `@import "~@ac-ui/design-system/src";`
3. How about just the styles needed to make the page pretty?
    - Its hard to say for sure just what you'll need on a page, so `@ac-ui` provides some utility classes and general stylings
    - `@import "~@ac-ui/design-system/src/page";`

# How do variables get determined?
- All variables should be declared in the `src/_theme.scss` file
- When imported in to a Product, Product variables cascade into Theme Variables
- Theme variables cascade into Bootstrap variables

# Overview
- `src/index` -> Entry file into all component, helper, and utility styles
- `src/page` -> Baseline page style, contains css reset, and utility classes
- `src/fonts` -> Baseline font-family, contains css with font-faces styles.
- `src/theme` -> Baseline theme variables. Product implementation can override.
- `src/bridge/${FILE_NAME}` -> Act as a bridge file to Bootstrap, add pertinent styles
    - Each bridge file loads AC-UI Variables, and has access to all Mixins/Functions/Variables