feat(commands/voice): add sponsorblock command

This commit is contained in:
2025-01-24 17:51:25 -05:00
parent 256156b9d2
commit 26f81bd58f
6 changed files with 60 additions and 5 deletions

View File

@@ -4,6 +4,11 @@ import aiohttp
from state import sponsorblock_cache
CATEGORY_NAMES = {
"music_offtopic": "non-music",
"sponsor": "sponsored",
}
async def get_segments(videoId: str):
if videoId in sponsorblock_cache: