New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

sb-slash

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sb-slash

sponsorblock over slash commands

latest
Source
npmnpm
Version
1.6.2
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

sb-slash

Retrieve SponsorBlock segments and user info with slash commands, buttons and message commands.

Invite

slash commands

# users
/userinfo publicid:
/showoff publicid:
/userstats publicid: sort:
/userid username: exact:

# segments
/skipsegments videoid: categories: json:
/segmentinfo segmentid:
/lockcategories videoid:
/searchsegments videoid:
/status

# /me
userid set / get
userinfo
showoff
userstats

/invite
/github

more details here

  • Other commands were not added since a local ID is required, this is for quickly retreiving general stats and checking segments.
  • Mass stat related commands were not included
  • Anonymous lookup was not included
  • All commands can have their response be ephemeral by setting the hide parameter to true

Cloudflare Environment Variables (Handling Interactions)

CLIENT_ID - Client ID from bot portal
CLIENT_PUBLIC_KEY - Public Key from bot portal

Local Environment Variables (Populating slash commands & options)

CLIENT_ID - Client ID from bot portal
BOT_TOKEN - Bot Token from bot portal
CLIENT_PUBLIC_KEY - Public key from bot portal

Credit

API follows CC BY-NC-SA 4.0 Documentation at wiki.sponsor.ajay.app

/src/util/sbc-util.js from MRuy/sponsorBlockControl

Logo from ajayyy/SponsorBlock, created by @munadikieh

Formatting and Links from Lartza/SBTools

Keywords

discord.js

FAQs

Package last updated on 20 Oct 2021

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