Skip to content

Commit da06ae4

Browse files
Added previous functionality to apply when users submit requests via the modal
1 parent 54dc4d8 commit da06ae4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

interactions/collabthreadHandler.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ else if (interaction.customId.startsWith('collabthread:modal:')) {
153153
const mentionList = selectedRoles.map(r => `<@&${r.id}>`).join(', ');
154154

155155
const message = await hubChannel.send({
156-
content: `📢 **${title}** by <@${user.id}>\n> 💡 _${description}_\n> 📣 Clubs invited: ${mentionList}\n> ✅ React with ✅ to show interest.`
156+
content: `📢 **${title}** by <@${user.id}>\n> 💡 _${description}_\n> 📣 Clubs invited: ${mentionList}\n> ✅ React with ✅ to show interest.\n### If you want to propose your own collaboration, use the button below!`,
157+
components: [generateCollabButtonMessage().components[0]],
157158
});
158159

159160
await message.react('✅');

0 commit comments

Comments
 (0)