diff --git a/fluxer_app/src/utils/SystemMessageUtils.tsx b/fluxer_app/src/utils/SystemMessageUtils.tsx index 146ee2a69..38b868648 100644 --- a/fluxer_app/src/utils/SystemMessageUtils.tsx +++ b/fluxer_app/src/utils/SystemMessageUtils.tsx @@ -53,6 +53,12 @@ const getGuildJoinMessagesPlaintext = (i18n: I18n): Array<(username: string) => (username) => i18n._(msg`You made it, ${username}! We're about to hit 88mph!`), (username) => i18n._(msg`You're here, ${username}! Just in time to rock 'n' roll!`), (username) => i18n._(msg`You've arrived, ${username}! Enjoy the Jigowatt Joyride!`), + (username) => i18n._(msg`${username} Was Turned To Steel, In The Great Magnetic Field!`), + (username) => i18n._(msg`Get comfy ${username}, enjoy a can of Slurm!`), + (username) => il8n._(msg`${username}? ${username}!? SNAAAAAAAAAAAAKEEE!!!!`), + (username) => il8n._(msg`That ${username} is a Spy!`), + (username) => il8n._(msg`${username}, Try to remember some of the basics of CQC.`), + (username) => il8n._(msg`Well, ${username}! And about time, too!`), ]; export const SystemMessageUtils = { @@ -84,14 +90,14 @@ export const SystemMessageUtils = { case MessageTypes.USER_JOIN: { const messageList = getGuildJoinMessagesPlaintext(i18n); const messageIndex = SnowflakeUtils.extractTimestamp(message.id) % messageList.length; - const messageGenerator = messageList[messageIndex]; + const messageGenerator = messageList[messageIndex]; return messageGenerator(username); } case MessageTypes.CHANNEL_PINNED_MESSAGE: return i18n._(msg`${username} pinned a message to this channel.`); case MessageTypes.RECIPIENT_ADD: { const mentionedUser = - message.mentions && message.mentions.length > 0 ? UserStore.getUser(message.mentions[0].id) : null; + message.mentions && message.mentions.length > 0 ? UserStore.getUser(message.mentions[0].id) : null; if (mentionedUser) { return i18n._(msg`${username} added ${mentionedUser.username} to the group.`); }