Forgot to call start_nodes in advanced example

This commit is contained in:
cloudwithax 2021-12-13 17:48:29 -05:00
parent 14c4a68af8
commit d6186cb20d
1 changed files with 3 additions and 0 deletions

View File

@ -85,6 +85,9 @@ class Music(commands.Cog):
# In order to initialize a node, or really do anything in this library, # In order to initialize a node, or really do anything in this library,
# you need to make a node pool # you need to make a node pool
self.pomice = pomice.NodePool() self.pomice = pomice.NodePool()
# Start the node
bot.loop.create_task(self.start_nodes)
async def start_nodes(self): async def start_nodes(self):
# You can pass in Spotify credentials to enable Spotify querying. # You can pass in Spotify credentials to enable Spotify querying.