Skip to content

Commit

Permalink
chore: content update
Browse files Browse the repository at this point in the history
  • Loading branch information
TriptoAfsin committed Sep 29, 2024
1 parent 04cc417 commit 2299ed4
Show file tree
Hide file tree
Showing 11 changed files with 85 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ let level3Subs = [
subName: "ACYM",
url: "https://drive.google.com/drive/folders/1c0nOFo78pJUI_Ja6iTRHonwUQnO1SnTL?usp=sharing"
},
{
subName: "ACAM",
url: "https://drive.google.com/drive/folders/1Z1Xzjtc_9suoB12JBU0zoFud5y6pYC2k?usp=sharing"
},
{
subName: "UM",
url: "https://drive.google.com/drive/folders/1JtOZ552EnvWUX8RZ-5XA1WaQliujL-TV?usp=sharing"
Expand Down
10 changes: 9 additions & 1 deletion src/controllers/chatbotController.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ const bothAMWords = require("./keywords/academic_words/subjects/bothAM");
const bothAPWords = require("./keywords/academic_words/subjects/bothAP");
const bothWPWords = require("./keywords/academic_words/subjects/bothWP");

const applicationOfComputers = require("./keywords/academic_words/subjects/applicationComputer");

//bothSubj flows
const bothWPFlow = require("./flows/botReplies/note_levels/level_2/bothWPFlow");
const bothAMFlow = require("./flows/botReplies/note_levels/level_2/bothAMFlow");
Expand Down Expand Up @@ -579,6 +581,8 @@ const level_2_notes = require("./flows/botReplies/note_levels/level_2/level_2_fl
const level_3_notes = require("./flows/botReplies/note_levels/level_3/level_3_flow");
const level_4_notes = require("./flows/botReplies/note_levels/level_4/level_4_flow");

const applicationComputerFlow = require("./flows/botReplies/note_levels/level_3/application_computers");

//academic flows -> bce
const bce_flow = require("./flows/botReplies/note_levels/level_1/level_1_subs/bce/bce_flow");
const bce_allsheets = require("./flows/botReplies/note_levels/level_1/level_1_subs/bce/topics/allsheetsBce");
Expand Down Expand Up @@ -2507,7 +2511,11 @@ let handleMessage = async (sender_psid, received_message) => {
magicFunc(sender_psid, level_2_notes);
} else if (wordIncludes(level3, received_message)) {
magicFunc(sender_psid, level_3_notes);
} else if (wordIncludes(level4, received_message)) {
}
else if (wordIncludes(applicationOfComputers, received_message)) {
magicFunc(sender_psid, applicationComputerFlow);
}
else if (wordIncludes(level4, received_message)) {
magicFunc(sender_psid, level_4_notes);
} else if (wordIs(bothChem, received_message)) {
magicFunc(sender_psid, bothChem_flow);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ let am2_lab_flow = [
},
grroupedButtonBlockGen("📌 All Reports - ", [
webBtnBlockGen('Bappi', 'https://drive.google.com/file/d/1u2YX4OyycdHalBxQ0LLYSz42T0-naoJf/view'),
webBtnBlockGen('Wasima', 'https://drive.google.com/file/d/1xMtBHwCmWrAY_KJsCp9VR5JldYIYxvXv/view?usp=sharing')
webBtnBlockGen('Wasima', 'https://drive.google.com/file/d/1xMtBHwCmWrAY_KJsCp9VR5JldYIYxvXv/view?usp=sharing'),
webBtnBlockGen('Samia', 'https://drive.google.com/file/d/12-k3-UwlJaQ2ceO2yiIocCJK429NSS0Z/view?usp=sharing')
]),
grroupedButtonBlockGen("⚡ Select Experiment for AM-II - ",
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ let wp2_lab_flow = [
webBtnBlockGen("Sazzad(2024)", "https://drive.google.com/file/d/1W8z4A_kIRaZUnc_aAemwyOyBFnE0YCrI/view?usp=sharing"),
]
),
grroupedButtonBlockGen(
"📌 All Reports -",
[
webBtnBlockGen("All Combined(Samia)", "https://drive.google.com/file/d/12PHLwTdLPihkQaNJiP8Nq9KCyO6GRX94/view?usp=sharing"),
]
),
grroupedButtonBlockGen(
"📌 All Reports -",
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ let webBtnBlockGen = require("../../../../../../genrators/webBtnBlockGen");
let payloadBtnGen = require("../../../../../../genrators/payloadBtnGen");

let ym2_lab_flow = [
grroupedButtonBlockGen(
"📌 All Reports -",
[
webBtnBlockGen("All Combined(Samia)", "https://drive.google.com/file/d/1ZhaMDec6y5QkgzFmhDs6sg1GnzbuRU4H/view?usp=sharing"),
]
),
grroupedButtonBlockGen("⚡ Viva Note - ",
[
webBtnBlockGen("Sazzad(2024)", "https://drive.google.com/file/d/1HhL0vCzzuaMxfnE6JgUtAlIty6qOrWH4/view?usp=sharing"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const webBtnBlockGen = require('../../../../../../genrators/webBtnBlockGen');
const textBlockGen = require('../../../../../../genrators/textBlockGen');
const payloadBtnBlockGen = require('../../../../../../genrators/payloadBtnGen');
const groupedBtnBlockGen = require('../../../../../../genrators/grroupedButtonBlockGen');
const webBtnBlockGen = require("simple-messenger-blocks/webBtnGen");
const groupedBtnBlockGen = require("simple-messenger-blocks/groupedBtnBlockGen");
const payloadBtnBlockGen = require("simple-messenger-blocks/payloadBtnGen");

let ecb_flow = [
groupedBtnBlockGen(`🔰Select Topic for ECB - `,
[
webBtnBlockGen("Sheets(2024)", "https://drive.google.com/drive/folders/1ORnhnkKeo2K3ZoqnobFe398qAdXocf76?usp=sharing"),
payloadBtnBlockGen(`Hand Note`,`ecb_handNote_flow`),
payloadBtnBlockGen(`Intro to ECB`,`ecb_intro_flow`)
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@ let textBlockGen = require('simple-messenger-blocks/textBlockGen');


let math1Integre = [
textBlockGen(`🔷 Hand Note(Shahriar,TEM-49,2024)-\n\nhttps://drive.google.com/file/d/1QCX0ItZMRcAPie3vyRJ2LX8-w_1y5b2l/view?usp=sharing`),
textBlockGen(`🔷 Hand Note(SAMAMA,DCE-47,2023)-\n\nhttps://drive.google.com/file/d/1Qv9zZnutfR580s_7uMVhGLvDZ2HGqJmu/view?usp=sharing`),
textBlockGen(`🔷 Hand Note(Saad, FE-49, 2024) - \n\nhttps://drive.google.com/file/d/1AEFFMnVZTuNcz9V_8PiQ7M-y7qVGPH5b/view?usp=sharing`),
textBlockGen(`🔷 Integration Solution (Risadul,SKTEC,2021) - \n\nhttps://drive.google.com/file/d/1OxlawuNq9afLxuRAH_V9MFxT3YF2vuKi/view?usp=sharing`),
textBlockGen(`🔷 Hand Note Full (Akib, 2018) - \n\nhttps://drive.google.com/file/d/1G6knLSoifRLnljugeSSLte8YvZzHAb0x/view`),
textBlockGen(`🔷 Hand Note Full (Ripa,TFD-46,2021) - \n\nhttps://drive.google.com/file/d/1DAkT9S5jhHFjQwSnJ7zVrxIreVf20N6V/view?usp=sharing`),
textBlockGen(`🔷 Hand Note Full (Sazid,FE-46,2021) - \n\nhttps://drive.google.com/file/d/1flhN31aiCW5u_NpvwXi0WYQRjUwGFenV/view?usp=sharing`),
textBlockGen(`🔷 Hand Note(Hafiza, AE-48 ,2023)-\n\nhttps://drive.google.com/file/d/1WFn8YzqtJU-SJ-QL07Wyy60iAbm0uv3f/view?usp=sharing`),
textBlockGen(`🔷 Rules(1-10),Gamma-Beta, Partial(Tripto)-\n\nhttps://drive.google.com/file/d/1AysunFQthF0CW7k6H8i3rbPz31_iZRRn/view?usp=sharing`),
// textBlockGen(`🔷 Rules(1-10),Gamma-Beta, Partial(Tripto)-\n\nhttps://drive.google.com/file/d/1AysunFQthF0CW7k6H8i3rbPz31_iZRRn/view?usp=sharing`),
textBlockGen(`🔷 Volume -\n\nhttps://drive.google.com/file/d/1fMQOkXdJk8SFBqRRkwoVQbMSCV0gjYS4/view?usp=sharing`),
textBlockGen(`🔷 Hand Note(Samet,FE-47,2023) - \n\nhttps://drive.google.com/file/d/1NMCXF9kDsCw9LaH-GdvSgvsqvrik-yhy/view?usp=sharing`),
textBlockGen(`🔷 Rectification - \n\nhttps://drive.google.com/file/d/1-fRlqPuxNKMY4F6D6G4wJK8ENI22_X8i/view?usp=sharing`),
// textBlockGen(`🔷 Rectification - \n\nhttps://drive.google.com/file/d/1-fRlqPuxNKMY4F6D6G4wJK8ENI22_X8i/view?usp=sharing`),
]


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
let grroupedButtonBlockGen = require("simple-messenger-blocks/groupedBtnBlockGen");
let webBtnBlockGen = require("simple-messenger-blocks/webBtnGen");

let application_computers_flow = [
grroupedButtonBlockGen(`🔰 Select -`, [
webBtnBlockGen(
"AWDP",
"https://drive.google.com/drive/folders/1l_xuqNbZyDC_aHw4MgHiRd_7FMMDra8v?usp=sharing"
),
webBtnBlockGen(
"ACYM",
"https://drive.google.com/drive/folders/1c0nOFo78pJUI_Ja6iTRHonwUQnO1SnTL?usp=sharing"
),
webBtnBlockGen(
"ACWP",
"https://drive.google.com/drive/folders/1pCqxLyVgJ-BwhCpCtut7f6v9oQucaHzN?usp=sharing"
),
]),
grroupedButtonBlockGen(`🔰 Select Subject for level 3 -`, [
webBtnBlockGen(
"ACAM",
"https://drive.google.com/drive/folders/1Z1Xzjtc_9suoB12JBU0zoFud5y6pYC2k?usp=sharing"
),
]),
];

module.exports = application_computers_flow;
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ let level_3_note = [
"https://drive.google.com/drive/folders/1pCqxLyVgJ-BwhCpCtut7f6v9oQucaHzN?usp=sharing"
),
]),
grroupedButtonBlockGen(`🔰 Select Subject for level 3 -`, [
webBtnBlockGen(
"ACAM",
"https://drive.google.com/drive/folders/1Z1Xzjtc_9suoB12JBU0zoFud5y6pYC2k?usp=sharing"
),
]),
];

module.exports = level_3_note;
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ let bondiFlow = require("../../../../sponsoredFlows/bondiCard");

let fsdFlow = [
bondiFlow,
grroupedButtonBlockGen(
`📌 YouTube Playlist `,
[
webBtnBlockGen("Watch 📺", "https://www.youtube.com/playlist?list=PLpFoI_N-jBPE6RvaZS-J5PZNj11hzVr0K"),
]
),
grroupedButtonBlockGen(
`📌 Full Notes `,
[
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const applicationComputer = [
"application of",
"application",
"acam",
"acym",
"acwp",
"acfm",
"acfd",
];


module.exports = applicationComputer;

0 comments on commit 2299ed4

Please sign in to comment.