diff --git a/src/commands/on_user_join.ts b/src/commands/on_user_join.ts index 0236f04..b8c50e0 100644 --- a/src/commands/on_user_join.ts +++ b/src/commands/on_user_join.ts @@ -105,10 +105,17 @@ export default class UserJoinEvent implements Command { text: "Thus, the legend of *#neons-personal* grew, a beacon to all who dared to *dream in neon*. And though Zeon would eventually leave to share the story of this sacred place with the world, he knew he would always return, for the channel—and its creator, *{user}*—was a home to all who sought to light up the darkness.", }, }, + ...[inviter ? { + type: "section", + text: { + type: "mrkdwn", + text: `And thank you <@${event.inviter}> for inviting this wonderful soul to this ~shithole~ channel`, + }, + }: null ].filter(Boolean), ].map((e) => { if (e.type === "divider") return e; //@ts-ignore - e.text.text = e.text.text.replace("{user}", `<#${event.user}>`); + e.text.text = e.text.text.replace("{user}", `<@${event.user}>`); return e; }), },