Skip to content

Commit 835be91

Browse files
committed
🐛 Correct bugs
- Lorsque il n'y a pas d'attachement trouvé, le message d'erreur s'affichera sans erreurs
1 parent 0d322d2 commit 835be91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/notifications.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ module.exports = client => {
132132
if (attachment) string += `[${file.name}](${attachment.url})\n`;
133133
else {
134134
string += `${file.name}\n`;
135-
console.log("Attachment not found.\nTo found name: " + name, "Original name: " + file.name, "\nAttachments: " + m.attachments.map(a => a.name));
135+
console.log("Attachment not found.\nTo found name: " + name, "Original name: " + file.name, "\nAttachments: " + e.attachments.map(a => a.name));
136136
}
137137
} else {
138138
string += `[${file.name ?? file.url}](${file.url})\n`;

0 commit comments

Comments
 (0)