"""Help cog β€” one place that explains everything the bot can do. !help β†’ overview + a dropdown to open any category !help β†’ jump straight to a category, e.g. !help music The text lives in CATEGORIES below. GIF commands are generated from the gifs/ folder, so that list is read from the Gifs cog at runtime. """ ###################################################################### import discord from discord.ext import commands COLOR = 0x5BA0D0 INTRO = ( "Hi, I'm Yuuka! I play music and radio, convert videos, convert money, " "run a Blue Archive gacha, chat with AI, and a bunch of small fun stuff.\n\n" "Most commands start with `!`. The media tools and `/currency` are " "slash commands: type `/` and pick them from the list.\n\n" "Pick a category below, or type `!help ` (e.g. `!help music`). `!commands` works too." ) # key: (emoji, title, one-line summary, full page text) CATEGORIES: dict[str, tuple[str, str, str, str]] = { "music": ("🎡", "Music & Radio", "Play songs from YouTube or live radio in voice", ( "Join a voice channel first.\n\n" "**Anyone can use**\n" "`!play ` (`!p`) β€” search YouTube or paste a video/playlist link. " "Example: `!play blue archive ost`\n" "`!radio` β€” pick a radio station from a menu (category, then station)\n" "`!nowplaying` (`!np`) β€” what's playing right now\n" "`!queue` (`!q`) β€” what's coming up next\n" "`!history` (`!h`) β€” recently played songs\n" "`!music` β€” short list of the music commands\n\n" "**Needs the DJ role**\n" "`!pause` Β· `!resume` Β· `!skip`\n" "`!stop` (`!leave`, `!disconnect`) β€” stop music or radio, clear the queue and leave\n" "`!seek