initial music commit

This commit is contained in:
esef committed 2026-06-07 12:49:25 +03:00
1 parent 086f4ce912
commit e7e9eb468e
4 files changed
+81

No files matched your search

+26
View File
@@ -47,6 +47,14 @@
"detail": "discord.ext",
"documentation": {}
},
{
"label": "commands",
"importPath": "discord.ext",
"description": "discord.ext",
"isExtraImport": true,
"detail": "discord.ext",
"documentation": {}
},
{
"label": "random",
"kind": 6,
@@ -101,6 +109,15 @@
"detail": "psutil",
"documentation": {}
},
{
"label": "wavelink",
"kind": 6,
"isExtraImport": true,
"importPath": "wavelink",
"description": "wavelink",
"detail": "wavelink",
"documentation": {}
},
{
"label": "load_dotenv",
"importPath": "dotenv",
@@ -181,6 +198,15 @@
"detail": "cogs.sysinfo",
"documentation": {}
},
{
"label": "Music",
"kind": 6,
"importPath": "wavelink.music",
"description": "wavelink.music",
"peekOfCode": "class Music(commands.Cog):\n def __init__(self, bot):\n self.bot = bot\n @commands.Cog.listener()\n async def on_ready(self):\n node = wavelink.Node(uri='http://127.0.0.1:2333', password='yuukabot')\n await wavelink.Pool.connect(nodes=[node], client=self.bot)\n print('✅ Wavelink connected to Lavalink')\n @commands.command()\n async def play(self, ctx, *, query: str):",
"detail": "wavelink.music",
"documentation": {}
},
{
"label": "intents",
"kind": 5,