split song correctly
This commit is contained in:
parent
9438a24131
commit
585094b818
1 changed files with 3 additions and 4 deletions
7
main.py
7
main.py
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue