Skip to content

Commit cb71ecc

Browse files
iamitprakashfakhruddinkwsahsisunnyvinit717shreya-mishra
authored
main to dev sync (RealDevSquad#146)
* Auto fetch task which are overdue * added type definitions for taskoverdue, refactored the code and removed the use of any * fixed return type of scheduled func * added fixtures and tests for getDiscordIds func * updated type def for user backend * removed public key from .toml and removed kick command from baseHandler * removed public key * added error message in getDiscordIds.ts * added fixture for taskOverdue, written test for taskOverDue, restructured the code of scheduleEventHandler, altered tests for getDiscordIds, refactored code for taskOverDueDiscordMembers, refactored code for getDiscordIds * forgot to add updated typeDefinitions for taskOverdue * extracted url to url.ts * resolved comments by:bharti * resolving comments * keeping schedule event under comments * error handling in scheduledEventHandler * resolved comments by:bharti * resolving comments by:dipayan * replaced staging url with production * inserted tracking channel id in url * extracted super user discord id to constants * BugFix: /listening (RealDevSquad#126) * bug fix * refactored te code * major fixes * resolved the comments --------- Co-authored-by: Prakash Choudhary <[email protected]> * FEATURE: Add /task command (RealDevSquad#127) * FEATURE: add code changes for /task command * feat(utils): add formatDate and formatTask utility * feat(message): update response format * FEATURE: add code changes for /task command * FEAT: add TASK command to register * Update src/utils/getNickName.ts * REFACTOR: change var name and add try-catch to getNickName fun * TEST: add tet for formatDate and formatStatusToTitleCase function * REFACTOR: extract fetchTasks fun * TEST: add test for fetchTasks * TEST(FIX): fix formatDate test * TEST: improve test coverage of fetchTasks function * TEST: add test for formatTasks function * TEST: fix failed test * TEST: fix failed test * remove console from getNickName.ts * TEST: add test for fetchTask funtion * REFACTOR: changes position of status var * REFACTOR: add try catch to fetchTasks function * FIX: lint * Making Auto fetch Overdue task live (RealDevSquad#134) * Refactor : Task command (RealDevSquad#137) * REFACTOR: add function to get RDS user data and replace formatDate function * TEST: add test for changes * TEST: add more test * REFACTOR: change date format * REFACTOR: change type file extension * FORMAT: fix prettier * Discord bot command called user that takes a username as an option and provides user details in response * Registered /user command for a bot in a specific guild * /OOO command to get user OOO details (RealDevSquad#129) * Added utility functions to get and return user details * Test : For utility functions * Refactor : time stamp conversion --------- Co-authored-by: FMK2312 <[email protected]> Co-authored-by: Sunny Sahsi <[email protected]> Co-authored-by: Fakhruddin KW <[email protected]> Co-authored-by: Vinit khandal <[email protected]> Co-authored-by: SHREYA MISHRA <[email protected]> Co-authored-by: Prakash Choudhary <[email protected]> Co-authored-by: Jyotsna Mehta <[email protected]> Co-authored-by: Vinit <[email protected]> Co-authored-by: Dash Deipayan <[email protected]>
1 parent 40cd98b commit cb71ecc

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)