Merge branch 'pr-499'

This commit is contained in:
Mathium05
2026-08-03 20:16:30 -05:00
3 changed files with 17 additions and 0 deletions
+11
View File
@@ -20,6 +20,17 @@ export class NotificationHandler {
noticontent ||= message.embeds[0]?.json.title;
noticontent ||= message.content.textContent;
}
if (message.attachments.length > 0) {
noticontent ||= I18n.sentAttachment();
}
if (message.poll) {
noticontent ||= I18n.sentPoll();
}
if (message.stickers.length > 0) {
noticontent ||= I18n.sentSticker();
}
// exhausted all options, sorry, we just send the raw thing!
noticontent ||= message.content.rawString;
noticontent ||= I18n.blankMessage();
const image = message.getimages()[0];
+3
View File
@@ -117,6 +117,9 @@
},
"bio": "Bio:",
"blankMessage": "Blank message",
"sentAttachment": "Sent an attachment",
"sentPoll": "Sent a poll",
"sentSticker": "Sent a sticker",
"blog": {
"blog": "Blog",
"blogUpdates": "Get blog updates when you open the app:",
+3
View File
@@ -119,6 +119,9 @@
},
"bio": "Label for the bio/about-me text field in user settings.",
"blankMessage": "Placeholder text shown when a message has no content.",
"sentAttachment": "Notification message when someone sends an attachment",
"sentPoll": "Notification message when someone sends a poll",
"sentSticker": "Notification message when someone sends a sticker",
"blog": {
"blog": "Settings section title for the blog feature.",
"blogUpdates": "Label for the toggle to enable/disable blog update notifications.",