Closed sxliang3093 closed 2 months ago
Check out the additional context section I wrote on the linked issue. This probably isn't the way this should be resolved.
I know this is still a draft, but here's some tips about what is currently missing to get you on the right track:
ctx
to the autoplay
method, you changed its signature without changing any of the places that method is called.
The fact that user playlists don't work for auto play is intentional - because auto play is a guild level feature meaning guild and global scoped playlists should work for it, but user not so, as we may exposing user data to users in a server that the playlist author/manager is no longer in. There should be an error show to the user when trying to set a user scoped playlist as an autoplay playlist.
black
autoformatter to style the updated code, in accordance with the CONTRIBUTING.MD
file.Due to the lack of activity on this PR, I'm gonna go ahead and close this.
Description of the changes
I passed a commands.Context object to extract the author id. I changed the arguments of the autoplay function to encompass this change. This is for issue #6281
Closes #6281
Have the changes in this PR been tested?
No