{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":792396308,"defaultBranch":"main","name":"hoyolab-auto","ownerLogin":"torikushiii","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-04-26T15:27:10.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/21153445?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1721402274.0","currentOid":""},"activityList":{"items":[{"before":"6d36d9ba4b180fef32ed1abdeb275967540a835f","after":"5ddb685797d1433aa006826f12eb9b27c68bf338","ref":"refs/heads/main","pushedAt":"2024-08-08T10:16:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"update selector for code list in `game8`","shortMessageHtmlLink":"update selector for code list in game8"}},{"before":"652f00e5964665fb1e3515e0a70c0383082691f3","after":"6d36d9ba4b180fef32ed1abdeb275967540a835f","ref":"refs/heads/main","pushedAt":"2024-08-07T10:22:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"rename `rewardsData` property to `rewards` in Genshin Fandom code resolver","shortMessageHtmlLink":"rename rewardsData property to rewards in Genshin Fandom code res…"}},{"before":"a78c6bfb28c40a1f84f83cb11335f404755ca5d9","after":"652f00e5964665fb1e3515e0a70c0383082691f3","ref":"refs/heads/main","pushedAt":"2024-08-03T12:32:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"correctly parses code and trim any leading or trailing whitespace","shortMessageHtmlLink":"correctly parses code and trim any leading or trailing whitespace"}},{"before":"ec289859db4fe912bf5947d8e902ac617b6544bf","after":"a78c6bfb28c40a1f84f83cb11335f404755ca5d9","ref":"refs/heads/main","pushedAt":"2024-08-03T12:27:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"`ZZZ` - added support for directly fetching code from `HoyoLab`","shortMessageHtmlLink":"ZZZ - added support for directly fetching code from HoyoLab"}},{"before":"5dd443780b8ea5466dba4e2b9f7bd5e89f163aea","after":"ec289859db4fe912bf5947d8e902ac617b6544bf","ref":"refs/heads/main","pushedAt":"2024-07-25T08:46:58.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"Typo fix\n\nFound at #43","shortMessageHtmlLink":"Typo fix"}},{"before":"a043718b85322c6c93c5ef43f2f0448514f162ce","after":"5dd443780b8ea5466dba4e2b9f7bd5e89f163aea","ref":"refs/heads/main","pushedAt":"2024-07-24T16:07:33.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"`notes` - enhance notes command with Stored Attendance information\n\n- Added support for displaying Stored Attendance data for Genshin Impact in both the embedded and plain-text versions of the Notes command.\n- Modified the Genshin Impact `notes.js` module to parse and provide Stored Attendance data from the Hoyolab API.","shortMessageHtmlLink":"notes - enhance notes command with Stored Attendance information"}},{"before":"0090da421f780209fc26ad88e4770722534f884c","after":"a043718b85322c6c93c5ef43f2f0448514f162ce","ref":"refs/heads/main","pushedAt":"2024-07-23T19:32:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"Consolidate Hoyolab API Requests\n\n- Unified all Hoyolab API requests to use a single `HoYoLab` Got instance.\n- Replaced the deprecated `MiHoYo` Got instance with the updated `HoYoLab` instance for consistency.","shortMessageHtmlLink":"Consolidate Hoyolab API Requests"}},{"before":"0692eb4395e78602b388d1e61e42ca4b8fd0faf2","after":"0090da421f780209fc26ad88e4770722534f884c","ref":"refs/heads/main","pushedAt":"2024-07-23T12:45:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"Add `Divergent Universe` info to Star Rail notes","shortMessageHtmlLink":"Add Divergent Universe info to Star Rail notes"}},{"before":"39d7dbc65c7b95eef47c434b1166c7d31967438f","after":"0692eb4395e78602b388d1e61e42ca4b8fd0faf2","ref":"refs/heads/main","pushedAt":"2024-07-23T12:45:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"use custom logger instead of `console.log`","shortMessageHtmlLink":"use custom logger instead of console.log"}},{"before":"efde5a2553044735c2dbfaedc5574408471afd07","after":"39d7dbc65c7b95eef47c434b1166c7d31967438f","ref":"refs/heads/main","pushedAt":"2024-07-21T18:24:38.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"Implement centralized error handling for Hoyolab module\n\n- Introduced a new `errorMessages.js` module to store and manage Hoyolab-specific error messages.\n- Added a `CustomHoyoError` function to retrieve localized error messages based on the error code and game type.\n- Integrated centralized error handling into various Hoyolab submodules, improving error reporting and user feedback.","shortMessageHtmlLink":"Implement centralized error handling for Hoyolab module"}},{"before":"c1a6d269028f31977b10f4ad0eec974ce4c278fe","after":"efde5a2553044735c2dbfaedc5574408471afd07","ref":"refs/heads/main","pushedAt":"2024-07-20T09:06:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"moved hard-coded url to use instance url","shortMessageHtmlLink":"moved hard-coded url to use instance url"}},{"before":"f2d207fd3cbd7e763c80426d88365c3ccef4fb1f","after":"c1a6d269028f31977b10f4ad0eec974ce4c278fe","ref":"refs/heads/main","pushedAt":"2024-07-19T21:20:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"`genshin diary` - reworked data-fetching\n\n- Added a timeout of 10 seconds between each month's data fetch to ensure proper rate limiting.\n- Refactored the `fetchResultsForType` function to handle fetching data for multiple pages.\n- Changed the logic to fetch data for both the current and last months.","shortMessageHtmlLink":"genshin diary - reworked data-fetching"}},{"before":"af739997c6f9a42e8dc7fb30bdef6fd7f7b2756e","after":"f2d207fd3cbd7e763c80426d88365c3ccef4fb1f","ref":"refs/heads/main","pushedAt":"2024-07-19T20:32:14.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"`diary` - fixed missing parameter\n\n- Also added validation to the `diary` command to ensure that the provided UID belongs to the specified game.","shortMessageHtmlLink":"diary - fixed missing parameter"}},{"before":"6a970b41bc6226518f4300ccea3d5ed623db765e","after":null,"ref":"refs/heads/diary","pushedAt":"2024-07-19T15:17:54.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"}},{"before":"f402a0fa2b07a6719a115ccb8cd7cbf4b2054e41","after":"af739997c6f9a42e8dc7fb30bdef6fd7f7b2756e","ref":"refs/heads/main","pushedAt":"2024-07-19T14:56:49.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"`diary` - Initial Implementation\n\n- Implemented a new `diary` feature for both Genshin and Star Rail HoyoLab modules.\n- Added `diary.js` files to both modules to handle the logic for fetching and processing diary data.\n- Created a `RealtimeNotes` class to encapsulate the diary functionality for both games, using generic logic for fetching and processing diary data.\n- Updated the `index.js` files for both modules to incorporate the new diary feature.\n- Added a new `diary` command to retrieve and display the diary information for the specified account and game.\n- The command utilizes the `RealtimeNotes` class to fetch and process the diary data, returning a formatted Discord embed with the information.","shortMessageHtmlLink":"diary - Initial Implementation"}},{"before":"f28604e4c4f26362a525e6aa66c9c7ae858d096b","after":"f402a0fa2b07a6719a115ccb8cd7cbf4b2054e41","ref":"refs/heads/main","pushedAt":"2024-07-19T12:26:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"fix code footer returned object instead of code redeem","shortMessageHtmlLink":"fix code footer returned object instead of code redeem"}},{"before":"45b3b770fdfe6f268152b2293e9cfdd48affe37c","after":"f28604e4c4f26362a525e6aa66c9c7ae858d096b","ref":"refs/heads/main","pushedAt":"2024-07-19T11:22:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"update check-in method names\n\n- Replaced `checkAndExecute` with `checkIn` in `check-in` and `missed-check-in` crons\n- Removed static modifier from `notes` method in `HoyoLab` class\n- Added `checkIn` method to `HoyoLab` class","shortMessageHtmlLink":"update check-in method names"}},{"before":"a15a76dddff4e01d9374d52bd71d114d30181e33","after":"45b3b770fdfe6f268152b2293e9cfdd48affe37c","ref":"refs/heads/main","pushedAt":"2024-07-19T11:16:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"Hoyolab module refactor\n\n- Refactored Hoyolab modules to separate functionalities into individual files for better organization and maintainability.\n- Created `check-in.js`, `notes.js`, and `redeem-code.js` files to encapsulate specific actions for each Hoyolab game.\n- Each module now inherits from the `template.js` module and utilizes instance-specific configuration and data.\n- This allows for cleaner code, easier testing, and improved scalability for future Hoyolab games.","shortMessageHtmlLink":"Hoyolab module refactor"}},{"before":"0d65670a9d1db76d788be902f5a55c386a4413c6","after":"a15a76dddff4e01d9374d52bd71d114d30181e33","ref":"refs/heads/main","pushedAt":"2024-07-19T10:09:25.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"config file converter refactor\n\n- Refactored the config file converter script to support both .js and .jsonc files.\n- The script now automatically searches for either `config.js` or `config.jsonc` in the current directory and converts it to `config.json5`.","shortMessageHtmlLink":"config file converter refactor"}},{"before":"96b06cef1cd17ef0c99ef1dc1a6a56e734c5ff37","after":"0d65670a9d1db76d788be902f5a55c386a4413c6","ref":"refs/heads/main","pushedAt":"2024-07-18T21:16:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"removed unwanted error throw","shortMessageHtmlLink":"removed unwanted error throw"}},{"before":"692abfa03ee11015835c750b2f6a6dd66a8c1598","after":"96b06cef1cd17ef0c99ef1dc1a6a56e734c5ff37","ref":"refs/heads/main","pushedAt":"2024-07-18T21:15:03.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"`utils` - case convertion\n\n- Added a new utility function `convertCase` to the `UtilsSingleton` class.\n- The function handles converting between camelCase, snake_case, kebab-case, and plain text cases.\n- This allows for easier manipulation and standardization of string formatting throughout the codebase.","shortMessageHtmlLink":"utils - case convertion"}},{"before":"925285b8ddef5d210607d213d3d5511bf71922f1","after":"692abfa03ee11015835c750b2f6a6dd66a8c1598","ref":"refs/heads/main","pushedAt":"2024-07-18T20:59:19.000Z","pushType":"pr_merge","commitsCount":7,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"Merge pull request #39 from abigailwillow/json5\n\n- Moved (again) config files from JSONC to JSON5.\r\n- Converted all kebab-case related value to camelCase.","shortMessageHtmlLink":"Merge pull request #39 from abigailwillow/json5"}},{"before":"f7e854dfccc86bb9d894424ac11185930cc9d435","after":"925285b8ddef5d210607d213d3d5511bf71922f1","ref":"refs/heads/main","pushedAt":"2024-07-18T17:23:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"`CodeRedeem Cron` - moved error log to debug and add simplified error","shortMessageHtmlLink":"CodeRedeem Cron - moved error log to debug and add simplified error"}},{"before":"fb3636a9b1998b4e000e992dec5843e5e44fa26d","after":"f7e854dfccc86bb9d894424ac11185930cc9d435","ref":"refs/heads/main","pushedAt":"2024-07-17T21:00:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"`code redeem` - filter rewards with optional chaining","shortMessageHtmlLink":"code redeem - filter rewards with optional chaining"}},{"before":"60a77b35fb72e43ad729602a55490ddc70781809","after":"fb3636a9b1998b4e000e992dec5843e5e44fa26d","ref":"refs/heads/main","pushedAt":"2024-07-17T15:29:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"removed redundant `console.log`","shortMessageHtmlLink":"removed redundant console.log"}},{"before":"b8f7a3b03a6bc39bcd5165890c821445dcc3505b","after":"60a77b35fb72e43ad729602a55490ddc70781809","ref":"refs/heads/main","pushedAt":"2024-07-17T14:27:49.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"genshin-fandom code resolver update","shortMessageHtmlLink":"genshin-fandom code resolver update"}},{"before":"6930c6eed7abec7b55af455afec470bed6edc656","after":"b8f7a3b03a6bc39bcd5165890c821445dcc3505b","ref":"refs/heads/main","pushedAt":"2024-07-17T12:48:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"HoyoLab cookie refreshing & `update-cookie` cron\n\n- Introduced a new Cron job named `update-cookie` that runs every 2 hours to update the cookies for all HoyoLab accounts (excluding Honkai Impact).\n- This cron iterates through all active accounts and calls the `updateCookie` method on the corresponding game module.\n- If the cookie refresh is successful, the cron updates the account's cookie in the database with the new `cookie_token` and `account_id` values.\n- The `updateCookie` method now uses the HoyoLab's new API endpoint (`/Api/fetch_cookie_accountinfo`) to fetch the updated cookie information.\n- The `parseCookie` function is updated to handle the additional cookie parameters (`cookie_token` and `account_id`).\n- Modified all child HoyoLab classes to include the specific cookie refreshing logic for their respective games.","shortMessageHtmlLink":"HoyoLab cookie refreshing & update-cookie cron"}},{"before":"fd72bd894ccaf98be4cd922e7504b3a8d50e5a68","after":"6930c6eed7abec7b55af455afec470bed6edc656","ref":"refs/heads/main","pushedAt":"2024-07-17T12:43:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"migration to `config.jsonc` notice","shortMessageHtmlLink":"migration to config.jsonc notice"}},{"before":"d0ff0a123274fc61607bd540b3c5acbc5177b810","after":"fd72bd894ccaf98be4cd922e7504b3a8d50e5a68","ref":"refs/heads/main","pushedAt":"2024-07-16T20:55:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"added `bun.lockb` to ignore list","shortMessageHtmlLink":"added bun.lockb to ignore list"}},{"before":"0115da2dbbb77f2f7c8e1aecebe876e61c60a9d0","after":"d0ff0a123274fc61607bd540b3c5acbc5177b810","ref":"refs/heads/main","pushedAt":"2024-07-16T20:46:05.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"torikushiii","name":null,"path":"/torikushiii","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/21153445?s=80&v=4"},"commit":{"message":"Merge pull request #37 from abigailwillow/main\n\n- Migrated configuration files (`config.js` and `default.config.js`) to JSONC format (`config.jsonc` and `default.config.jsonc`).\r\n- Updated the codebase to utilize the JSONC parser for reading and writing configuration files.","shortMessageHtmlLink":"Merge pull request #37 from abigailwillow/main"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAElRsM2wA","startCursor":null,"endCursor":null}},"title":"Activity · torikushiii/hoyolab-auto"}