Command raised an exception: AttributeError: 'tuple' object has no attribute 'title'
and
Command raised an exception: AttributeError: 'tuple' object has no attribute 'title'
The problem is
Cogs/move.py
embed = discord.Embed(title="Song moved", description=f"- [**{trackToMove.title}**]({trackToMove.uri}) was moved from `{indexFromFake}` to `{indexToFake}`.",
here trackToMove is a tuple inside a list,
so better use trackToMove[index_number_of_title] and trackToMove[index_number_of_url]
so solve is
embed = discord.Embed(title="Song moved", description=f"- [**{trackToMove[5]}**]({trackToMove[4]}) was moved from `{indexFromFake}` to `{indexToFake}`.",
Command raised an exception: AttributeError: 'tuple' object has no attribute 'title'
and
Command raised an exception: AttributeError: 'tuple' object has no attribute 'title'
The problem is
Cogs/move.py
embed = discord.Embed(title="Song moved", description=f"- [**{trackToMove.title}**]({trackToMove.uri}) was moved from `{indexFromFake}` to `{indexToFake}`.",here trackToMove is a tuple inside a list,
so better use
trackToMove[index_number_of_title] and trackToMove[index_number_of_url]so solve is
embed = discord.Embed(title="Song moved", description=f"- [**{trackToMove[5]}**]({trackToMove[4]}) was moved from `{indexFromFake}` to `{indexToFake}`.",