taslim19 commited on
Commit
4692cb6
·
1 Parent(s): c025406

fix: remove file_name from reply_audio/reply_video, use title for audio track name

Browse files
Files changed (1) hide show
  1. DragMusic/plugins/plugins/dsong.py +1 -2
DragMusic/plugins/plugins/dsong.py CHANGED
@@ -51,7 +51,6 @@ async def vsong_cmd(client, message):
51
  await message.reply_video(
52
  video=file_path,
53
  thumb=thumbnail_path,
54
- file_name=title,
55
  duration=duration,
56
  supports_streaming=True,
57
  caption=(
@@ -114,7 +113,7 @@ async def song_cmd(client, message):
114
  await message.reply_audio(
115
  audio=file_path,
116
  thumb=thumbnail_path,
117
- file_name=title,
118
  performer=channel,
119
  duration=duration,
120
  caption=(
 
51
  await message.reply_video(
52
  video=file_path,
53
  thumb=thumbnail_path,
 
54
  duration=duration,
55
  supports_streaming=True,
56
  caption=(
 
113
  await message.reply_audio(
114
  audio=file_path,
115
  thumb=thumbnail_path,
116
+ title=title,
117
  performer=channel,
118
  duration=duration,
119
  caption=(