diff --git a/package-lock.json b/package-lock.json index 2b3eaabf..3314ef5b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "license": "MIT", "dependencies": { "date-fns": "3.6.0", + "dedent": "1.5.3", "discord.js": "14.15.3", "dotenv": "16.4.5", "gists": "2.0.0", @@ -1936,6 +1937,19 @@ "node": ">=0.10" } }, + "node_modules/dedent": { + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", + "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==", + "peerDependencies": { + "babel-plugin-macros": "^3.1.0" + }, + "peerDependenciesMeta": { + "babel-plugin-macros": { + "optional": true + } + } + }, "node_modules/deep-eql": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.4.tgz", diff --git a/package.json b/package.json index f612c41c..0a3743fd 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "license": "MIT", "dependencies": { "date-fns": "3.6.0", + "dedent": "1.5.3", "discord.js": "14.15.3", "dotenv": "16.4.5", "gists": "2.0.0", diff --git a/src/features/commands.ts b/src/features/commands.ts index e5281f21..650b002c 100644 --- a/src/features/commands.ts +++ b/src/features/commands.ts @@ -15,6 +15,7 @@ import { getReactDocsContent, getReactDocsSearchKey, } from "../helpers/react-docs"; +import dedent from "dedent"; export const EMBED_COLOR = 7506394; @@ -1114,6 +1115,32 @@ _ _ }); }, }, + { + words: ["!apply"], + help: "a quick list of 'good to know' items for job applications", + category: "Web", + handleMessage: (msg) => { + msg.channel.send({ + embeds: [ + { + title: "A quick list of 'good to know' items for job applications", + type: EmbedType.Rich, + description: dedent` + - Your resume and interview performance are more important than your projects. + - If you struggle to get interviews, polish your resume. You may submit your resume in #resume-review for review. + - If you get invited to interviews reliably but constantly get rejected/ghosted afterward, practice interviewing. + - Job descriptions are like a wishlist. It is common for a candidate to not tick every checkbox but still get the job. Just apply for the position regardless. + - Junior remote jobs are very rare. For more, see \`!remote\`. + - Depending on where you are, it is not uncommon for a junior to apply for 30+ jobs a week. See \`!junior\` for more details. + - Working in large companies and smaller companies/start-ups has its advantages and disadvantages. + - Freelancing and starting a start-up is very challenging compared to being an employee. It requires more than just your technical skills. e.g. acquiring customers, marketing, etc. + `, + color: EMBED_COLOR, + }, + ], + }); + }, + }, ]; const createCommandsMessage = () => {