initial music commit
This commit is contained in:
1 parent
086f4ce912
commit
e7e9eb468e
4 files changed
+81
No files matched your search
+26
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user