Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Commit 99ae083

Browse files
authored
Merge pull request #53 from AnshGupta01/help-commands
issue: help commands #9
2 parents b524707 + 1acb980 commit 99ae083

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

src/states/render-messages.ts

+8-4
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,18 @@ export const renderSemester = (semesters: V1SemesterList) => {
144144
export const renderWelcomeMessage = () => `\
145145
Welcome the the Amibot Beta, proudly brought to you by the ALiAS Community.
146146
147+
Your *Amizone credentials* are safe with us, credentials are only used for accessing amizone data. Once you logout, your details are deleted from our end.
148+
149+
You can logout with the menu, or by sending *logout* message to the bot.
150+
147151
Amibot is an open-source project hosted on fly.io. Source code is available at github.com/asetalias/amibot and open to contributions, bug reports and feature requests!
148152
149153
Join ALiAS, Amity's largest open source community, at asetalias.in ;)
150154
`;
151155

152-
export const renderUsernamePrompt = () => "Amibot uses your Amizone credentials to access the portal. *Enter your Amizone username:*";
156+
export const renderUsernamePrompt = () => "*Please enter your Amizone username:*";
153157

154-
export const renderPasswordPrompt = () => "*Enter your Amizone password:*";
158+
export const renderPasswordPrompt = () => "*Please enter your Amizone password:*";
155159

156160
// Menu. Type: Interactive.
157161
export const renderAmizoneMenu = () => ({
@@ -171,15 +175,15 @@ export const renderAmizoneMenu = () => ({
171175
rows: [
172176
{
173177
id: "1",
174-
title: "Attendance",
178+
title: "Total Attendance",
175179
},
176180
{
177181
id: "2",
178182
title: "Class Schedule",
179183
},
180184
{
181185
id: "3",
182-
title: "Courses",
186+
title: "Course Details",
183187
description: "(and internals)",
184188
},
185189
{

src/states/state-handlers.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ export const handleExpectPassword = async (
107107
};
108108

109109
const AmizoneMenuOptions = {
110-
GET_ATTENDANCE: "attendance",
110+
GET_ATTENDANCE: "total attendance",
111111
GET_SCHEDULE: "class schedule",
112-
GET_COURSES: "courses",
112+
GET_COURSES: "course details",
113113
FILL_FACULTY_FEEDBACK: "fill faculty feedback",
114114
GET_EXAM_SCHEDULE: "exam schedule",
115115
};

0 commit comments

Comments
 (0)