split song correctly

This commit is contained in:
deflax 2022-03-28 11:08:55 -04:00
parent 9438a24131
commit 585094b818

View file

@ -78,10 +78,9 @@ async def on_message(message):
else:
print('no title found')
return
meta = (title.decode(encoding, errors='replace'))
metastar = meta.split("*", 1)[0]
await message.channel.send('] ' + meta)
meta = title.decode(encoding, errors='replace')
metasplit = meta.split('*', 1)[0]
await message.channel.send('] ' + metasplit)
@bot.event
async def on_voice_state_update(member, before, after):