diff --git a/src/features/commands.ts b/src/features/commands.ts index 6f862948..afc0659f 100644 --- a/src/features/commands.ts +++ b/src/features/commands.ts @@ -73,6 +73,40 @@ const commandsList: Command[] = [ }); }, }, + { + words: [`!contribution`], + help: `informs user's of contributing to React codebase`, + category: "Communication", + handleMessage: (msg) => { + msg.reply({ + embeds: [ + { + title: "Contributing to React", + type: EmbedType.Rich, + description: ` + 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. +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: + `, + fields: [ + { + name: "Open Source Alternatives", + value: ` +- [TanStack](https://github.com/tanstack) +- [Preact](https://github.com/preactjs/preact) +- [Remix](https://github.com/remix-run/remix) +- [SolidJS](https://github.com/solidjs/solid) +- [React Hook Form](https://github.com/react-hook-form/react-hook-form) +- [freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) +- [Daily.dev](https://github.com/dailydotdev/daily) + `, + inline: true, + }, + ], + }, + ], + }); + }, + }, { words: [`!crosspost`], help: `provides a no cross-post message`,