You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is possible to make the song_creation method a pure list of calls to self.methods, using only the recipient as the input parameter. To do, this 2 steps:
Create a retrieve_song_notes methods, which searches for the latest query about notes and get the notes out of it. Tricky part: handle files.
Make create_song a loop iterating over a dictionary of self.methods, calling them one by one, with recipient as the only parameter
Add an n integer or 'string' input parameter in create_song so we can skip to the call of method of the nth method or referenced by 'string'
Then, the code in the cog would become:
for i in range(len(maker.continue_song)):
q = maker.continue_song(recipient=player, method=i)
execute(q)
The text was updated successfully, but these errors were encountered:
I think it is possible to make the song_creation method a pure list of calls to self.methods, using only the recipient as the input parameter. To do, this 2 steps:
Then, the code in the cog would become:
The text was updated successfully, but these errors were encountered: