I am currently making a music bot and I don't know how to send a message when track has started. I have tried this, but doesn't work.
async def on_wavelink_track_start(player: wavelink.Player, track: wavelink.Track):
Ctx = player.ctx
AttributeError: 'Player' object has no attribute 'ctx'.
I don't know what to do because the documentation doesn't say anything about this.
Version of llibraries I am using: Wavelink(1.3.5) and Discord.py(2.0).
source https://stackoverflow.com/questions/75476951/wavelink-how-do-i-send-message-when-track-has-started
Comments
Post a Comment