sb-slash
v1.6.2
Published
sponsorblock over slash commands
Downloads
4
Maintainers
Readme
sb-slash
Retrieve SponsorBlock segments and user info with slash commands, buttons and message commands.
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 portalCLIENT_PUBLIC_KEY
- Public Key from bot portal
Local Environment Variables (Populating slash commands & options)
CLIENT_ID
- Client ID from bot portalBOT_TOKEN
- Bot Token from bot portalCLIENT_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