Skip to content

Commit 936682c

Browse files
authored
Courses command to solve #410 (#484)
* updated blog post link to solve #28 * added courses command
1 parent e69f86b commit 936682c

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

src/features/commands.ts

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,44 @@ If you’re looking to gain experience in open source, we recommend starting wit
176176
});
177177
},
178178
},
179+
{
180+
words: [`!courses`],
181+
help: `provides a curated list of quality React courses and learning platforms`,
182+
category: "React/Redux",
183+
handleMessage: (msg) => {
184+
msg.channel.send({
185+
embeds: [
186+
{
187+
title: "Quality React Courses & Learning Platforms",
188+
type: EmbedType.Rich,
189+
description: `Here are some highly recommended courses and platforms for learning React, from beginner to advanced levels:`,
190+
fields: [
191+
{
192+
name: "Premium Courses",
193+
value: `
194+
- [Joy of React](https://www.joyofreact.com/) - Comprehensive React course
195+
- [Epic React](https://epicreact.dev/) - Advanced React patterns and techniques
196+
- [Advanced React](https://www.advanced-react.com/) - By Nadia Makarevich
197+
- [Jack Herrington's Courses](https://www.youtube.com/@jherr) - Various React topics
198+
`,
199+
inline: true,
200+
},
201+
{
202+
name: "Learning Platforms",
203+
value: `
204+
- [Frontend Masters](https://frontendmasters.com/) - Professional-grade courses
205+
- [React.dev](https://react.dev/) - Official React documentation
206+
- [Reactiflux Learning Resources](https://www.reactiflux.com/learning) - Curated links
207+
`,
208+
inline: true,
209+
},
210+
],
211+
color: EMBED_COLOR,
212+
},
213+
],
214+
});
215+
},
216+
},
179217
{
180218
words: [`!ymnnr`],
181219
help: `links to the You Might Not Need Redux article`,
@@ -186,7 +224,7 @@ If you’re looking to gain experience in open source, we recommend starting wit
186224
{
187225
title: "You Might Not Need Redux",
188226
type: EmbedType.Rich,
189-
description: `People often choose Redux before they need it. “What if our app doesnt scale without it?"
227+
description: `People often choose Redux before they need it. “What if our app doesn't scale without it?"
190228
191229
Read more about this in the [article "You Might Not Need Redux" by Dan Abramov](https://medium.com/@dan_abramov/you-might-not-need-redux-be46360cf367)`,
192230
color: EMBED_COLOR,

0 commit comments

Comments
 (0)