mirror of
https://github.com/Matthww/TuneBot.git
synced 2026-09-21 23:37:47 +00:00
Gotta remove shit to be compliant yaknow
This commit is contained in:
@@ -26,6 +26,7 @@ class MusicCog(BaseCog, name="Music"):
|
||||
|
||||
self.bot.lavalink.add_event_hook(self.track_hook)
|
||||
|
||||
"""
|
||||
@commands.Cog.listener()
|
||||
async def on_ready(self):
|
||||
while not self.is_lavalink_ready():
|
||||
@@ -43,6 +44,7 @@ class MusicCog(BaseCog, name="Music"):
|
||||
await player.play()
|
||||
except:
|
||||
logger.error(f"Failed to autojoin guild {guild_id}.")
|
||||
"""
|
||||
|
||||
async def track_hook(self, event: lavalink.Event):
|
||||
if isinstance(event, lavalink.events.QueueEndEvent):
|
||||
|
||||
Reference in New Issue
Block a user