Skip to content

Commit

Permalink
!cra added
Browse files Browse the repository at this point in the history
  • Loading branch information
barrybtw committed Aug 16, 2024
1 parent 3807912 commit 116bdf6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/features/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,27 @@ Authentication is a critical part of most web applications. Here are some resour
});
},
},
{
words: ["!cra", "!create-react-app"],
help: "Provides a list of popular backend- and meta-frameworks",
category: "Web",
handleMessage: (msg) => {
msg.channel.send({
embeds: [
{
title: "create-react-app is deprecated",
type: EmbedType.Rich,
description: `
create-react-app is deprecated and no longer recommended for use. It is not maintained and has a large number of security vulnerabilities. Please use Vite or Next.js instead.
Vite: https://vitejs.dev/
Next.js: https://nextjs.org/
`,
color: EMBED_COLOR,
},
],
});
},
},
];

const createCommandsMessage = () => {
Expand Down

0 comments on commit 116bdf6

Please sign in to comment.