Skip to content

Commit 902a14d

Browse files
almeidxckohen
andauthored
fix: title reference
Co-authored-by: ckohen <[email protected]>
1 parent c0dcbd8 commit 902a14d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/discord.js/src/structures/MessagePayload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class MessagePayload {
192192
const attachments = this.options.files?.map((file, index) => ({
193193
id: index.toString(),
194194
description: file.description,
195-
title: file.name,
195+
title: file.title,
196196
waveform: file.waveform,
197197
duration_secs: file.duration,
198198
}));

0 commit comments

Comments
 (0)