Skip to content

Commit 1c64fc7

Browse files
committed
add: contribution command (#463)
* add: contribution command * fix: Merged the upstream main branch * fix(docker): resolve build failure caused by code formatting issues
1 parent 871207b commit 1c64fc7

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

src/features/commands.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,40 @@ const commandsList: Command[] = [
7373
});
7474
},
7575
},
76+
{
77+
words: [`!contribution`],
78+
help: `informs user's of contributing to React codebase`,
79+
category: "Communication",
80+
handleMessage: (msg) => {
81+
msg.reply({
82+
embeds: [
83+
{
84+
title: "Contributing to React",
85+
type: EmbedType.Rich,
86+
description: `
87+
React is a very large and complex project. It has a steep learning curve, involves a lot of internal tooling and architecture, and often requires deep context to make meaningful contributions.
88+
If you’re looking to gain experience in open source, we recommend starting with projects that are more beginner-friendly but still widely used and respected in the React ecosystem. Great alternatives include:
89+
`,
90+
fields: [
91+
{
92+
name: "Open Source Alternatives",
93+
value: `
94+
- [TanStack](https://github.com/tanstack)
95+
- [Preact](https://github.com/preactjs/preact)
96+
- [Remix](https://github.com/remix-run/remix)
97+
- [SolidJS](https://github.com/solidjs/solid)
98+
- [React Hook Form](https://github.com/react-hook-form/react-hook-form)
99+
- [freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp)
100+
- [Daily.dev](https://github.com/dailydotdev/daily)
101+
`,
102+
inline: true,
103+
},
104+
],
105+
},
106+
],
107+
});
108+
},
109+
},
76110
{
77111
words: [`!crosspost`],
78112
help: `provides a no cross-post message`,

0 commit comments

Comments
 (0)