From c464ad69a37f8703e3ff7e8ce3087009a1110371 Mon Sep 17 00:00:00 2001 From: smcgb Date: Wed, 20 Sep 2023 15:19:56 -0700 Subject: [PATCH 1/3] Feature: Added alumni udemy slash command --- src/Commands/Info/UdemyAlumni.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/Commands/Info/UdemyAlumni.ts diff --git a/src/Commands/Info/UdemyAlumni.ts b/src/Commands/Info/UdemyAlumni.ts new file mode 100644 index 0000000..24e1cff --- /dev/null +++ b/src/Commands/Info/UdemyAlumni.ts @@ -0,0 +1,16 @@ +import { CommandInteraction } from "discord.js"; +import Client from "../../Core/Client"; +import SlashCommand from "../../Structures/SlashCommand"; + +export default class extends SlashCommand { + public constructor() { + super({ + name: 'udemyAlumni', + description: 'Get a link to Alumni Udemy', + }); + } + + public async run(interaction: CommandInteraction, client: Client): Promise { + return await interaction.reply('wgualumni.udemy.com/'); + } +} \ No newline at end of file From f319fbe5e7434586a87eb49a253f1593c13f0938 Mon Sep 17 00:00:00 2001 From: smcgb Date: Sat, 25 Nov 2023 16:04:02 -0800 Subject: [PATCH 2/3] Feature: Removed alumnUdemy added DNATA --- src/Commands/Info/{UdemyAlumni.ts => Dnata.ts} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename src/Commands/Info/{UdemyAlumni.ts => Dnata.ts} (66%) diff --git a/src/Commands/Info/UdemyAlumni.ts b/src/Commands/Info/Dnata.ts similarity index 66% rename from src/Commands/Info/UdemyAlumni.ts rename to src/Commands/Info/Dnata.ts index 24e1cff..0dc7f1b 100644 --- a/src/Commands/Info/UdemyAlumni.ts +++ b/src/Commands/Info/Dnata.ts @@ -5,12 +5,12 @@ import SlashCommand from "../../Structures/SlashCommand"; export default class extends SlashCommand { public constructor() { super({ - name: 'udemyAlumni', - description: 'Get a link to Alumni Udemy', + name: "Don't ask to ask", + description: 'post DNATA', }); } public async run(interaction: CommandInteraction, client: Client): Promise { - return await interaction.reply('wgualumni.udemy.com/'); + return await interaction.reply("Don't ask to ask, just ask \n https://dontasktoask.com/"); } } \ No newline at end of file From 0abe4b7e6b13e641830c4581278a6917a335b732 Mon Sep 17 00:00:00 2001 From: smcgb Date: Sat, 25 Nov 2023 16:14:45 -0800 Subject: [PATCH 3/3] Feature: Added director to #coding-questions --- README.md | 2 ++ src/Commands/Info/Dnata.ts | 2 +- src/Commands/Info/coding-help.ts | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 src/Commands/Info/coding-help.ts diff --git a/README.md b/README.md index a97e042..0366db2 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,5 @@ Moderation and information bot for unofficial WGU discord | /pluralsight | Get a link to Pluralsight | | /reddit | Get a link to the WGU subreddit | | /udemy | Get a link to Udemy | +| /dnata | Get a link on how to ask technical questions | +| /coding-help | Redirect someone to the dedicated coding support channel | diff --git a/src/Commands/Info/Dnata.ts b/src/Commands/Info/Dnata.ts index 0dc7f1b..8622fde 100644 --- a/src/Commands/Info/Dnata.ts +++ b/src/Commands/Info/Dnata.ts @@ -5,7 +5,7 @@ import SlashCommand from "../../Structures/SlashCommand"; export default class extends SlashCommand { public constructor() { super({ - name: "Don't ask to ask", + name: "dnata", description: 'post DNATA', }); } diff --git a/src/Commands/Info/coding-help.ts b/src/Commands/Info/coding-help.ts new file mode 100644 index 0000000..51f8d5a --- /dev/null +++ b/src/Commands/Info/coding-help.ts @@ -0,0 +1,16 @@ +import { CommandInteraction } from "discord.js"; +import Client from "../../Core/Client"; +import SlashCommand from "../../Structures/SlashCommand"; + +export default class extends SlashCommand { + public constructor() { + super({ + name: 'coding-help', + description: 'posts link to wgu coding-questions to direct', + }); + } + + public async run(interaction: CommandInteraction, client: Client): Promise { + return await interaction.reply(`You can get dedicated assitance in #coding-questions`); + } +} \ No newline at end of file