{"_id":"koishi-plugin-genshin","_rev":"59-05a7e6fffcc7a62ff95928102c033127","name":"koishi-plugin-genshin","dist-tags":{"latest":"2.0.0-beta.15","next":"2.0.0-beta.21"},"versions":{"1.0.0":{"name":"koishi-plugin-genshin","version":"1.0.0","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","genshin-kit":"^0.1.1"},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@1.0.0","dist":{"shasum":"f9ad04dad1977ef07592cd3d4498f92a4ef8debb","integrity":"sha512-K0dwnnWXJY5uH9y3e0ZXD4CZ/kpQLGRem+5ayc5bzTKZpD5ylBDqL8VxWotB7GQoC+i0uewYuMhouxX9w21ifA==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-1.0.0.tgz","fileCount":8,"unpackedSize":17164343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOPN0CRA9TVsSAnZWagAA+NcP/38OqIhxzfS8FMtikZHh\nkBbF2j3NO1/Z8ikrCtXRQouz9SMVFHVxUxAzvwIVUGnndWC8rokc1EdM9kWt\nMtXDBaeb6mOWeD7yDWuHJOI7d0rNRJ2JU5S3v96cET3cPDzmlIKnzKAIXLlI\nHYTz7Gw6EnSuhdPUsW1PoeMASvZkQw9dVUAsoAfXPKIBjfsNtOzKoi9Weueb\nkVmq5FHAwgaQjExT3XVgk3/+j52SyMsf0OBhlcIjObznUbJEclpgpq74D3SW\n5lBSOCaN0L1hFxC4oZWfq20kI2NHbfnpyDDbtly3SbkhlTyLiuHqEVKFsh3D\n5+uasGFANZIx5YWHQ7Ct5xmdaxNRiF6VwCDOJ1g3bN1qaw54rkpMusS9Bo5r\nT4/WJvSDEFOgIbRfV6pu6kEK035G4mUGa+eog5nZsiy2GictUhFHL/Nv1bS0\nUJu9HnCloOyIj9m8vMH6VRfzY151VgcA41VYRNONQHsFwE/CbiPkMWZAPOA1\nOx7CLuFNtmUoqHWZhjoodm+dku8ivODTtgoWdJg8N2b3QSU2Wyp+F0V0zCwz\n50DMNl77saFHDnuvp4RQ+uRWs2vrS4Gi3njn80tA+Bj2E9uSgrQ+skSGDalk\nRA+Eb2NDJmhqjjAIITwJlV0KUFUsDiI94Nw51cBQvD+urSkAS/C6s9EBNhSN\nkhta\r\n=KdM2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAtUjUJdi+R0rvbnhzYUJJjXISURPfYAKk4oGU7qMBaNAiEA/MbbWWzPm+zmuQKBWAvtZZReeC8M9BanfpbEvHleuSs="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_1.0.0_1614345071042_0.39328820890394156"},"_hasShrinkwrap":false},"1.0.1":{"name":"koishi-plugin-genshin","version":"1.0.1","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","genshin-kit":"^0.1.1"},"licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@1.0.1","dist":{"shasum":"eec1202e3ea02b9483d0f1211714f6d0c634bee1","integrity":"sha512-nypCahcRxhG65kMj2y7vck7YpCirMl7Dwz6zRUJa6OBSQFVSu8+CqNE0RAEHMscoQsRIhncNM0Jy28gC1kewvw==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-1.0.1.tgz","fileCount":8,"unpackedSize":17164354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOPT/CRA9TVsSAnZWagAAaaAP/2+QnJ9emuC+GWNUM3b+\ne4kOUDebWWVGdPDg1bLrwnVKJuCn9stPMYtjZXoqpjJJyhGqbPy2LqAPJILF\nJOcOvzOc9mHBNVoGh95pWhYxAVhMNvQ2frMfiN5ZK60fz5+tr8DJZG6NcNAc\n7+pOi/oYJcr0Mq4iw+Nq/2lHKhxCpbsXJbj94AlH0cMbWUDg4CH5JdDD280h\nz5fbdCd4j/NL7+CzNmgzo7gYvB5wfcjKn38Ibwlckh4GJHNl7TMjnrIJl4Md\nrJg9fjxnjQvvi7+oTruLJuYLXKtd9uUb8DozH755O8Z2dgHBzu7zoph0z2Nu\nl+U5G+W6HFGhgobEU8m5P//G+b8Kh/WfLJ+1xx1m1apJPIGz4KAW0MWN2njA\nttW5h58XZob4d2zMMbrI12G82R4eWFeh/ZuO5PEDsKrXn6G/ZsRLKwjO7Iv0\nZpgtTs9DnLmWhPDbJnxL8W4tsdf2U07u8mgcyzbAcaqL/N6xfoTeFufsMpG9\nxxKVrVkoksDKOAcHZpWiZo7w52oNUZ4V+uOmelVuh9s91f4s2I8NkiXWaGz3\n0i5P5QlNc7w31wD9UecKz090zNCMZQepe1u21HXNms/zuLvWZ/aCQvhvrKGc\njU6Tfwtbie2gXgFrKAeIzsxEOx0XyN+2huE+gMQYQlQ0KDa1UcDHAnpP1DxK\nxZ/Y\r\n=meKa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDY5b3wbc7bAESgFn/HXdYLQs88GXSd1EYBddnIcPXh7AiBhQlygLV7tz4Ampr+0fq88ViJvxJvZKIrKpidhMPNvjA=="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_1.0.1_1614345470728_0.6973687499705741"},"_hasShrinkwrap":false},"1.0.2":{"name":"koishi-plugin-genshin","version":"1.0.2","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","genshin-kit":"^0.1.1"},"description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@1.0.2","dist":{"shasum":"766cbc4782ea3a20b0c3024c3d749b6ceb2a73ae","integrity":"sha512-4osGn8iikpeOBfxN2MdtDvnxVEd+qMyH4evem0KyCfaNA+sPFcMnJuwJYIDfdYyqUzHDRfBjKVW+OBVdK/I/sw==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-1.0.2.tgz","fileCount":8,"unpackedSize":17165550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOPgGCRA9TVsSAnZWagAAJSQQAJJg/0UcpNyVto1mZ2fG\nBeBkqwJ3V9BO4hrX7/YYRinWM+kXb+qfbJL4F2t1e6JmIgQEYUfAPuK3G58D\nHYQkPCkWSLrBp4DjO2GaLCciNo44d1sLclqQ5Fgse0sKaa0+5w0zJam/3jhC\nNnf2hQcH/Zk1w56Z2GnsViSowOCOaDSrmiybrrZXe8dO4pDybBoskA5ijyxQ\nuq05TbTSPRlhkk7ICqNu4/cMyrzATW1zoUTM72bcHLGumG0I1D28Lo4/C2Ar\nSYSfDDYhSMuIHGx5wplvizPOeBsWtYqbLpQBhgLrATsuRLoozM44RQso3JDO\n9lRVzj/5IBQXCfGva4C70k//EgjID/JLEx4f8JwxbxUBF2El2rasvzEQYm5B\nwdb8ltJc0l/rvY/tSjEb7PPjqokmAvcB5htrQw2col1WCjpC0M6qN56oGbcT\n7V2zRerIHNho3oQ+pY1y8FSzBbBuVtxoxuwyCSDfLz+dAg5QwiQ6neIPhX6r\nmeLZnwE4dxiqgUuhPoEmLJyqYo2Lw/wIAWRH7YpVUsx/GSYjbOEewtYZKeXG\nRCpWZLFUYuY8fWs2Qc/Hwm1zZOOmWGynLrLjbozC4283FleiKNE2d/Dh9BN3\nqI+RnR/w+QfUBrWaa9WjIs7XI02YrZIGwlpF7V0E0JkwvTWxVLO2v5/Wtvv9\nCDnj\r\n=OX8y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDz2mAdawq3sVV6p3Qg/+ttbPz9cyBaaxMg3MD2QQDZtwIhALM9YOreyHjMXpBF8nSiF9TfJHch8qMImqrB7VT5ATyf"}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_1.0.2_1614346245071_0.961710509489893"},"_hasShrinkwrap":false},"1.0.3":{"name":"koishi-plugin-genshin","version":"1.0.3","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","genshin-kit":"^0.1.1"},"description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@1.0.3","dist":{"shasum":"e0a1b97cdec911682bb18933a31c1dc0177ff4fc","integrity":"sha512-nIiX2JM+CGpxv6ZNrWpd8lI5LDQYWdmDSagBp8wb3IJtgCOvPXg4fFxDhFQ9u6CA8Vo1qOb2nCtKGRBWZHsWKA==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-1.0.3.tgz","fileCount":8,"unpackedSize":17165682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOQNiCRA9TVsSAnZWagAAhEUQAJJSKLU1QnLPrMgYdCb3\nym/P2hpy9z9qgvJU+XX7kYkras6FcXGXCR+ywUORVbUqX3mkRuJ5P6GN3rJS\nC1OwBorbj6Uwa0a7GOfYjUrSOE6/5RaABq/8wO4Wvk1maf/vvhU81G4TJrgv\nL/GjN/F8f3iMu9r7ZGTKc5hHB67oq3gOvERJGdNDDac8gWNdCnZhfyeHYDSK\nQt8cWSgE/abx664lQIMcHlano1UwNCOey2qIUunYi+8lA46oI4gSK+c9weKE\nR49nq8d042f7uI86UYKX5ErU3ALgvdoXQ2KE6uJ7ZOjA1ZnpIFZctOKl5Soa\nHNT/+5OqEmVqD5pkW0dOBunDI3dsGoy6MoW+6JLDPEje5/so/aSz57SPuL09\n/rqLAmQBVo3QySuQkJNzW4OQPId3b5CiQuVHrINx8eHkWS+Vbbk7NIaxA2hi\nY8Im1oZFmOSAIf3UH4fHK8zJdDxEUeMRDhFuKWhUHaQMI7PBcrd1xIMo5+pN\npMdQnjwbYvNKI2WHaccrroMzrbn5d7oOK93lqEacuNREOkJRi0bHKxGb7u9b\nJ8y/AzYxsTLV3cCSMwemppNboprGfKHlTiTlAPtqKVmDReQh8/kRId8/wzuu\nVdvctMNXH7lJcthpGWCZb7iG4981QrjULSJvfWDEN8qs3WBrr7t5CB0Os436\nadiE\r\n=/yTY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXrxr03EJucBLOo4OFWPJ66BOe5mBvGwycCFRBoOrDrAIgSI+DaR2baQZPjKXuDFmYbo23WxiZO65tR5Cx7LisNNo="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_1.0.3_1614349153151_0.13176846830273314"},"_hasShrinkwrap":false},"1.0.4":{"name":"koishi-plugin-genshin","version":"1.0.4","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","crypto":"^1.0.1","genshin-kit":"^0.1.1"},"description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@1.0.4","dist":{"shasum":"2621136e36f9b5295e3c498115b00344f853f637","integrity":"sha512-/suAMR1vI6QPlzOVdSHOlTETi+FVJCW74iTdIwR+XJD9Jsqnw+wbHkOzaadmEKFxk8UpxnBUm5z3EBdMFMhnTg==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-1.0.4.tgz","fileCount":8,"unpackedSize":17165707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOQPdCRA9TVsSAnZWagAAd8wP/39Gi1ILgPavMiT+kWZ6\nNXU/ZlF/AeEE9u+ykCSy7pqRvLCZQrs5Nrkk3x5vooEKAONpenAYXpOhT2nm\nw9rEY5c8pxBDmjgpLuf/7b3FrwENGy7/0kKdtP4ejdr/E0psuQHOW7rbAjoW\nLCqSAk/RAU7ZIc2c8CHurb+mEoYyQ9DSzZdP6Ks9dKwj+WSnkWHrmVr8OeLH\n/d2wIjHoi3/+Tmh6xaxrKi11CZvd5Aew6VVY3JEt9K3YxAw+zznTlPRAirUM\nw/TIZU8bxYyRL58rpxwmkndsL/z/RP3t7ke2HaahzpcPxZa2PjFRkynOVX4N\n1XjxR2UqoDYid5GRtuoSDI0CPPUrYiRrHbCQa4XOe2MdtYvfCVD/PBSOGtCy\ns8dV1HxYBqo6pXCE+lTl54yxiGDPYuZV5MHrcBLz6bjbdm8Tcym/HwYBnUs1\nW5IaTSYhC/bvL+3gUeILlVs4snfkgP8O1XukAx0/Qld1ErdxstI7mBcPoj09\ntNsCOZi9JkZiwCdmgtSoCQ1G4KcCP247THPCp0c3s4B+0Kk994qLtdGz6eXo\n3XMW04OartkvPAoxXflZZrWontMuNjfDJioZnPafGf5MdReJL4qTCI3lkEu3\nDQoN00GbHo7olVNpqax0rR4+imMTEMj9XyLQd9pqmg6y7P79cFbtZhOQ8rR6\nnUGB\r\n=paYP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEE4YoGLij0uDs4jC0mZvxiQa0912xDO74Qe219qUm0RAiAxioFa+9hBN25bXM7T3kRWbFteIR8cFri6A0BxKDgYWA=="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_1.0.4_1614349276796_0.6176296268668282"},"_hasShrinkwrap":false},"1.0.5":{"name":"koishi-plugin-genshin","version":"1.0.5","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","genshin-kit":"^0.1.1"},"description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@1.0.5","dist":{"shasum":"4d3ec80d76e3c977554d72a724dbc7c65b22b03d","integrity":"sha512-dKd2XGyTqsr8PMs8xxsoHGM+/16sANjnx8bkTeQEph9Cd79qz+Wn13t2IAmdJb8RQZNhFSpIVIWRJCL5BU31+g==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-1.0.5.tgz","fileCount":8,"unpackedSize":17165679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOQf6CRA9TVsSAnZWagAAUsQP/2qDhS8DyvlwoMzPr5Wt\nVlYJs1WD/lR/Z7eE/Tvfal1MhQwFv9Xoh0mKWiX6X4HhPopTvV1LDWXIaRq2\n/4f9CWxLSwtkgBK8GQWqjl5BsU7PfAevjtDYH6iLabyivxogk4k9R/Erc3VG\nw99/M9yj78F3jSwQY3rjDKIQac9EMnRa3vcM6LrfFgUJ0+jSBrkrX3JuX5Py\nuO3nEhECzxmWMhtkpSRQpewYEd248r6mHU4KDUzCVsG6ouASueVbgLcaTWvP\nrpz/3Te/jllqT7is51m/yIUjv9Yj9WlBmVyB5Caa5/xVAeaO9RjikCNJsaqj\nifUBbIPezE/zT8EVxXPJZ1W/PUoBLTDzYNoiU7sCx91HO2oa7JFmAzKy7yjF\nw7+00SwKJSfobfCFSGq9KU3cfAEWxX8iPhRTcPL3Bu3Ih2/fQf23bec9KCnI\n6cmLGyvxPTx9xUKHKajsAs68+ThKCJqAuOCWtEroHxCaGPsE5A6NnF36YsKU\n6zTlAllr1p1Qdc6B5/oxd6FmgNje6XJxIMvcHuysD7XVjN+JY53vCWd8Dsnq\nmWMqfDuHGsqeatK00g1IAL3zmfjfyh/6C45KAe0vtuQyAvpRVNiedUx8iO5Z\n3h14s7i1nalKkmhKGxcCv4ZgmhGBTDO7LGbIwkz5chPonMNU8hQBO0AQkIm4\nptrV\r\n=sLYq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFJvQ+ES+xKfuHlYYda/AALKutu8Ry3B2+PIRo9qeFauAiBzLihR/iASNvwZ7rs//p55x2iPhfPOIvRGmC58Rz0pLg=="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_1.0.5_1614350329704_0.7018255573288332"},"_hasShrinkwrap":false},"1.0.6":{"name":"koishi-plugin-genshin","version":"1.0.6","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","genshin-kit":"^0.1.1"},"description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@1.0.6","dist":{"shasum":"9d01429f15767f9223bc95c16b3b094d7c791c9f","integrity":"sha512-WNNN7OO1AKS1b9CJSWVSlO7suNM+jR1gqA7QVI8rJhDPLDsJ0i2KthKyHnif1nXnLy2WFUtCwiCCJE8aXniHpg==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-1.0.6.tgz","fileCount":8,"unpackedSize":17165734,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgOQngCRA9TVsSAnZWagAATxMP/RjOQk4wpfZ/OivnOpYp\nM4VrIF6ZC1QscZRKho42on/zv+C92WqdcEAP8OKYbwq6z+3K4XHj4/8/fjF2\ndCwLVGi5Ql61JIHC4AFuDDImZn9IkEPAUXCwZLGNHa97QNHqTspiVQuG5pa4\n02KjvzGW8N1VS1rRL4a/s8dUAOAuhAiDNJYNrtPYTV0Rnt+Ap6xC0CBSrpTh\n0jqocZ4hUHOoFKP5Wx4AVcsJFCbeuvvr7eqlLkEWQEXDvhlKbGwWaHrJ8Hfu\njCVzwHf/IWQ7m5uhkV/aWnellnklultZESR/HyfgyajVlN8EbmT9HmV9g3nK\nyktOUx/+eZkNLVt86pq80Ga9E83rhHP6clc6Qp2X/Qhx5Hzktq8PUONFt+0q\nSuaGwzsnv/lwTmiz3SKSTd1xeCAae+r4isn8Q++aBLUNn/IEsbqpOLrPwt99\nVqReo4bQ4EZ3QfSbcLCpLMdkeR+nEZvVWXyZ/cpzpAdqgNca4iAQyR/IN2j+\nn6fwNnewK2ZH/LTASEB16vTqljpQNOvNFBmDI1oXhQJkhqiKrEwOzsMpnOoP\nwauRs93bka7KAxwaUjIbr2x+klNysIa8xWRT2a1a+wIUU7+0Ru8tDQT3pO83\nwCEWKT+deTcx6/5ANeh8H2g5AFva+xRRWX8XHLOiTkRAIgo7aElJeKJ6OcQW\nPtzP\r\n=EAN/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3mnkv5bDpEcuUDoR5N4skuAmVDNyDqw+YN2oN17acAgIgDaedLf10ZvpK0wHtwRS6fhwM8kCxPOwiq4BSZnFC20M="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_1.0.6_1614350815480_0.27214993483209704"},"_hasShrinkwrap":false},"1.1.0":{"name":"koishi-plugin-genshin","version":"1.1.0","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","genshin-kit":"^0.1.1","koishi-utils":"^4.0.1"},"description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@1.1.0","dist":{"shasum":"c3b2a6fa983bec252563ae32364bd9d913a9c2fb","integrity":"sha512-WW/13GY0zzl2CV6yUXv3Bl04qSzAxU4V+AC32AQdFRSrTGcp59lyvcAtZYxxcH94p6fW/CagOfFAukeq6Nf4ug==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-1.1.0.tgz","fileCount":11,"unpackedSize":17167947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPGcOCRA9TVsSAnZWagAAyhgP/id10uFS0weNMrZTB4iv\nVAWC2neuZUNYAW3Xw64dNMlfSnRpuTPXfvFYsYTkYo7zFHibwPdXL7VLtHid\nyOL/+zc2E7G87i52TxpLWgCUiurDvwi8gTynPoEe8/biiZpcMB/gQoid3RI/\nGBI6qrJ9xviVyJ48nVHXKqMGWC3qVkJ6rEfdRK9ngEviNl7v6ExJnpf3SNFU\nuOve0x1/vFZHFnHHAovZn782j944MlYcNXoAxYKhMu2sVYktYwwFCNAX3Nxo\nO9DBbldlAd6/DEh1OSoA59Xcv2A2WTuQiYJfNYoOUNXouYJGEx5gvGu2kkTn\nYMO/P/itT6klMpsvWJ+W19VYFiY4s6pE0aEfmhtbK7auz3MiyvHKlorNGT79\npejbmkD/5xuUvSy39EQB3sgaS4Nrky6VB+ZySId2MONXHaaYrGfT8ia/llkB\n9+RX3g7TE/JNvhIzkH0gJmUVXIIJK1XWyZL7qt8i17CrCNu6pEm9sEKNsv0r\ngYyYr4AtnEywK5Jbdl4ychqTFJwU7RBao0PYb9DkV3JTUFNTyWxjoSrCUD5o\nabY/uaMtEUKcpWa/8E6KTAZ/YOIABv7Vd8A9r2Mzlns393VCIb6O656AeeiC\n7qvUpdTVH7OhN5JxgTPSJzz388cpj2OSDRBF4Uh2RU+CLqVxlXdIOJdKwcdr\niZES\r\n=fR4H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBcxd6rhQDz/6UAHJDr4sZyVnu/9gajjn8b43DyV0TNdAiBm1EcD4Zp2JqBF3gzZ61J3kQMRoSxVbYUhLyG0S/fZLg=="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_1.1.0_1614571277470_0.1397627228694518"},"_hasShrinkwrap":false},"1.2.0":{"name":"koishi-plugin-genshin","version":"1.2.0","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","genshin-kit":"0.2","koishi-utils":"^4.0.1"},"description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@1.2.0","dist":{"shasum":"5697003f4bc508ddbe3a4f2cd1987444a1d25c93","integrity":"sha512-V6S4h+eXFljyOEI1jOCTZhPIg3vTPfSULQTLqLR54ztkLUg4FbwFqxClVuZEysbX9x9crkUGuAuFUU3IFRL9wQ==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-1.2.0.tgz","fileCount":11,"unpackedSize":17167944,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQ37iCRA9TVsSAnZWagAAoEEP/0cu8mFe7hOCEyppWIf4\nTbIsZCr1LOAsecY8RnsNmeZC19C1J+7UP+tjZ1ZsoZuOFx35odZoOeDWAFlU\n0CxYHz/R3tsnjOjI9QXgXMj64KYQKTSvnm4n8eZYgMZc6vFFNvxehMFFYqRP\noZXzk8KTbTxxEhD2okIeuWH/KaOPj8xVq64IEo8cz4GzhM5gWeh99MAZSBNG\nGLrowxs/oXFXns5EKiHxwouxvM/fpXWfxTFazrhBhehRv+5irfawDNE99aAU\nEv1kHNDO2hUJRNhjQzsK1ytJZ9PwsP+QFitnfsFa1+n7vgNijfrD6ffObWAp\n+7KV8vgVtVZ4V9VSrA3h24Fn9S/rxb3gq7UB8x+OVwav7LZN5KwjLeKEIEnY\npZf/wefcrSOmEkRTDrAqq0HtWTso2hpG7NjwwfiIa/t5JbfwTMQw2XDZT8g4\nYw+9/A8Uz6upZS5J07vCJUg4l96qKNSF5SuMbHrQfuJrWXuiaC4nOgH6Qpgf\ndFtIPbbzg5a6psCmyOp3FfgL6YksJxQEbOZh8L+d5DXSJ8Jo3HCrRMvuFaC0\nDaiJryXRsnEM6+PCx4P4LO80Ja0k2/VYJFXJRa2O7QCn3tqJg59cq9NnbsiV\n9GutdZHLfa3Xt+QP1kJ29bjyz+Rf5FFQyKPMoan6jvtsHizI+e9ghA7tHX4O\nGLxu\r\n=4Xl0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgI8KNqM3BoqvU/wjxYfa8CmhRsrI7xbnPuK3yMbK0VwIgOwEW6gUbP1s3knv36HjqjhKBnb0RoV6NktTT5IzNsHU="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_1.2.0_1615036129229_0.06538665721603887"},"_hasShrinkwrap":false},"1.2.1":{"name":"koishi-plugin-genshin","version":"1.2.1","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","genshin-kit":"^0.2.0","koishi-utils":"^4.0.1"},"description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@1.2.1","dist":{"shasum":"03d5a373aea8bdacfbf0f95c3d779a1761388f14","integrity":"sha512-MywoCYiYfGJeS1BmOvrxI9/4mmxsB3tttpPXuYXoOvGie99NSeO++5odsfnmViXjSi7kEixgv52NAoWFMLUY2A==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-1.2.1.tgz","fileCount":11,"unpackedSize":17168061,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQ4CQCRA9TVsSAnZWagAAt7IP/3XG1ZDejaqlvyYZWqYY\nKKu1IHbwRdWk/Uq/7JE1q6PdZf2p/FFJHYYiOjPVUNC46NC1rNoSxp4HyeRB\nI5PoQqEFSAOZXF7bXR2UUQS7m9isC7k8SWy0bEPklQfc93Uk0R6QAQ+aT5TL\nRLcmccPSMblXL/tNkkO2oAIQyJM+3YdMiyIsAfRl0dTZTPbrxzO6oL7H9mvy\nHv3cHHprtRgfeNBdwgAYzdFjpSdjLKX/p3oaRzO7NYltKb3KDlkPbLR3xTFW\nWq+BN6PH8vZttVEebG8yqpJInngRMLklrfWeHWDCerG1Qwg3FZ8z4IktRAX/\nH2hvZUwx+2hROnch2w/4oteti4oAfRqNLrWUa/q5XlR6s8eAkjoj/cgAzW0M\nIweKwxnjVttAVd6upus0NgElZIqrQ0zIV80lEgNKd7K7/uG+tIekXokEZtuM\nRRNvyohop4uOCvk14NZ/3AonN3+D6d0KQj/3oBbAjwoxuWv4hCrRnbSEVAJp\ns713mGvmfeySKpZSNLeTkP4pTdRyM1kWwXhlxk2XCs0jQxRzClIWz9qVR1w7\nJZK5cmB0nDohhJurIMMA4wml/Rsd/UxR5HIMsJD82uMy5FSleRyuv7AWp78w\no/O9yjqH7Gg7mEOZa0PLhE2sn1VpUEL3hBfGdRt7jyzmG5AznpPW10QbdyxX\niEf1\r\n=hz2z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCC+EJJ4JGEtch9/3ULa9nNYwtEfx1xK/1cP30yJuq5VAIgBCrwCZypiFKmhyySj3U5+0VyEOwl5QTOSJK1Dfw+Byo="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_1.2.1_1615036559335_0.6469162558390158"},"_hasShrinkwrap":false},"2.0.0-alpha.0":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.0","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","fs-extra":"^9.1.0","genshin-kit":"^0.3.0","koishi-utils":"^4.0.1","puppeteer":"^8.0.0"},"description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@2.0.0-alpha.0","dist":{"shasum":"7724e234a1c21bfc03748358998f82fc89298415","integrity":"sha512-KIrKhR/L+KxQUoOWDxazjk/YWDELSFn5N7g05fYkKTZjrQvDOA5z/4hiGTsSTqCpCJ+oft7OrcQFi3EuQB2HFg==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.0.tgz","fileCount":20,"unpackedSize":17365413,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRPfICRA9TVsSAnZWagAAe9YP/1LvxHHQGb9ezzQ4Uh2q\nQDcr/LMnzJ5KaT/nwEkcFFU7vtDyaXVekTHaY/h1o8iY+ZdCCMvua9tuQjd2\npnTt0JxdhD73lvZ5hQ8ulip+/Eha88QnjR7Gj7U9g36U8YnEjng2YnBwUDCp\nQBUt7xQvvZC77AyaTjLPD0IwJKB85It+2rEACokqeJm7F536Oxtz4xUDW+3E\n6V+r/yw1DFcuKhVNjkL9pHOW9FSqqrW5NbtdBb7HwzvIPZw8BdJeMR60X6VV\nIvIBRBCJe7SqhjEbpBVWiwQHR46JFzROJdWp3l+JcmrJprHyTF8voD1e21YE\nBPMO7LDGVz96G4LB4W8v1/3zmQ9XOApPkfapzXNDfMrnOZRe5WrISHSo75vU\n0uhHEtIXt6oB75nSJLFa5UcKUmWr7V2Q1ivMJwDD5yMCWkmB3XIjfyij1hw6\nclxuYKkb0J9xktCiNHXUkQdbp4D+1GXQ0Hi8oQCrJzJWeq3dUF7T89ZXvGXi\n6Xs/fFvq4lbByIDUQ93u9ZzMiC339Q1J+TdtWaMT6r/E4QH8J9gJUSt3sOfo\nLj53dWMGxUEW0i/ZQpHJlUHiUSUv6YAyj3L/S5Hy9lV4m0saKKV/urxfNL2f\nn2hbsH/sgQpVa06z3APbWtCF+bEE4oyWIWJKMrpCQ3wNg1tUxCGR9jCLLW0P\neKB5\r\n=hm7J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDehxNF5pK7WSK2gaKpZTUJmZfjd5VEUKmWS5PZ5UyDfwIhAJo+xd0cpbRzbgNfX+GkChgg2vUen5Ia6R0rjsJ17fo0"}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.0_1615132615606_0.16408391187951454"},"_hasShrinkwrap":false},"2.0.0-alpha.1":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.1","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","fs-extra":"^9.1.0","genshin-kit":"^0.3.0","koishi-utils":"^4.0.1","puppeteer":"^8.0.0"},"description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@2.0.0-alpha.1","dist":{"shasum":"2e031b0da2aa04e1d7bec1642fc9f652d7f75dd9","integrity":"sha512-PY/lVOQEKnJ7Y2q2ypvl2N7Em0kMX2FO4cRzYoxNyPL1gKGoJH1nbbUUy2eCtSGONUVV+gOOZgbWqc2f5Sn8Mg==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.1.tgz","fileCount":20,"unpackedSize":17365429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRPg4CRA9TVsSAnZWagAAMokP/iMXdJeRIg2lQh1hgwBa\nzHqG8H6sDBUgoJd+UUKaU/cSL5dtV5N1BM2GI6qpMT3IJJFXFyqgj4vjkpF/\n0vS9tsWK1xV1m/BlXTs2TD7GlIvwpBU5zE4M/EoUbdolPz8r32ZjPPqkQh5a\nryM3B6y1BZx5d13Fo3DPmGDwFa0iTaLSCzqEwgPt1IA2rTzbQCgFr4GegKUw\nExPNzf0KKWih6eU1prB+KYWto+L9ylycyGVly7y4Rgv0MieaGgSZkktHgY5+\neDT3kqK3XAgOsWebhscVno8OAlKcMHpyliVy7nx1pNxFLr4xrwBNSGenezGj\nzcKYCJl//9VWxNKJEuRsVEfWNohp0QTNne/LF8jnUEYe9NMyJPAoYls43cSU\n/UYq+OPWl7oKJe4LNsmEUHUo+EIFZMZpWV3g0KuOy2nDyGbjiaI9DeNUPZJ1\nrq2VYTYCXpDJAqfd/veJi2/epEdGmwQylFb/nwkHiLh7eoFNZ6BC/4NydkeX\n+iCXG8GkoVybM/3hZlJWR5aUFSbR5lwXazYMBFkhRqIZRVtAsMd/BXZ21y23\nvTPm+uG2PQ2VKTEGaDgnsvSeHxqAcB5MnuMqQycJTZ8/N22r2prTH2N25oj4\nS2bK7g2BMJFweToPusiCii7WmMpXlptLkHl96QP6aV3mKDkhi5ljysElegT5\ns3VT\r\n=wejW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBCcE1vb/hCLfNKsw6KvmDrZ77J8FyPSmH8LrxDyotjwIgFI8yxWeB+dz8ksiWejEj3ary3YMMsKDelyQ5oP8IOsg="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.1_1615132727504_0.9670697913264923"},"_hasShrinkwrap":false},"2.0.0-alpha.2":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.2","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"canvas":"^2.6.1","fs-extra":"^9.1.0","genshin-kit":"^0.3.0","koishi-utils":"^4.0.1","puppeteer":"^8.0.0"},"readmeFilename":"README.md","readme":"# Genshin for Koishi  `koishi-plugin-genshin`\n\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\n\n## 安装\n\n```bash\n# Via yarn\nyarn add koishi-plugin-genshin\n# Or via npm\nnpm install koishi-plugin-genshin\n```\n\n## 需求\n\n目前插件需要使用数据库才能正常运行！\n\n## 配置\n\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\n\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\n\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\n\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\n\n```js\n// koishi.config.js\nmodule.exports = {\n  plugins: {\n    // ...\n    genshin: {\n      // 本插件的配置项\n      cookie: '<您的小饼干>',\n    },\n    // ...\n  },\n}\n// 当然如果您是 index.js 玩家也可以这样\nApp.plugin(require('koishi-plugin-genshin'), {\n  // 本插件的配置项\n  cookie: '<您的小饼干>',\n})\n```\n\n## 指令\n\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\n\n### `genshin <uid>`\n\n别名：`原神`\n","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@2.0.0-alpha.2","dist":{"shasum":"bdabe83d91dd1a83b52a98509c11340e97af93c5","integrity":"sha512-BhueCuUYilGrIuluVuCGe1YpiZInMgN6x532zV2xj/Up74DjFN+0E3VPhmmdcVK20pWdyoLoUkk0iKls6CwIDQ==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.2.tgz","fileCount":20,"unpackedSize":17365429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRPmNCRA9TVsSAnZWagAARgoP/i3aj+Xt8bd1gFstnXdg\nf5xPDzYWEKrLpFvFjx0FicopUOe2iQTKfV30AEqtnSLPNfNzge/Q980UXtam\nbsk/obbon259EUCQaVKsieB7l0aGrJK8Iw2N+dlfzJ8eP9EbtAovstcHQBUQ\nvoofwBsu+UWFej3d6IFWVQJRtrOba43inG3Er9OqX+BMhC345Xjlp8YLkFA3\nKlDGjehVjGOdxVneq9JnlKmEbksFOyjaw+NhX+Herbx3iohbsXZi1/YgjkhR\nwu1Vl/+h9OS1B5y3qAFnkvS3LMi76DMJMZRvAwbZO53zBV3QiWA0NDAxPUGd\nERbovqhhT5qwRi/djgDrwF/esXISI7YQ8SqGb76Vj/UwuFc2pdZ3D/faNeUt\n+qK3UngNoetGn/JtRp7vHaCg91igKGapkctP6KM9eXCwJEIEsUvfgJ9Doxle\nKV+dPjArvdv19hkdqLamiP7sU7TQcp+QTvxxZGGld80s5KH8KKT0qkC0wtQU\nLC10IUIJve40EgqOnSg9rr0Gf9TAQaGZlzeYriIjx9Wj7BaU3uylmIM/rujb\np3mWqLM7+qEFLjvHYhYywa363eLSjNfX5/9R0MqQmaQ/8SbbSp8zCu37GdI4\nZPm7FaD1UH7BlprMBt67df+EfwU+cLbe5I9krx1qf3QfQCzXNB5BjcpkpA7j\nKsH8\r\n=hQDQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsFWphOzwxV1c1Wk2nV+dODClIoX0cgvhaNNL7ZJQ5kwIgFTTgOwAYNt03WLaPJ8D3MpQHgQzLyhB7orBm5tekyTc="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.2_1615133068484_0.8385693635811429"},"_hasShrinkwrap":false},"2.0.0-alpha.3":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.3","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"fs-extra":"^9.1.0","genshin-kit":"^0.3.0","koishi-utils":"^4.0.1","puppeteer":"^8.0.0"},"readmeFilename":"README.md","readme":"# Genshin for Koishi  `koishi-plugin-genshin`\n\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\n\n## 安装\n\n```bash\n# Via yarn\nyarn add koishi-plugin-genshin\n# Or via npm\nnpm install koishi-plugin-genshin\n```\n\n## 需求\n\n目前插件需要使用数据库才能正常运行！\n\n## 配置\n\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\n\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\n\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\n\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\n\n```js\n// koishi.config.js\nmodule.exports = {\n  plugins: {\n    // ...\n    genshin: {\n      // 本插件的配置项\n      cookie: '<您的小饼干>',\n    },\n    // ...\n  },\n}\n// 当然如果您是 index.js 玩家也可以这样\nApp.plugin(require('koishi-plugin-genshin'), {\n  // 本插件的配置项\n  cookie: '<您的小饼干>',\n})\n```\n\n## 指令\n\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\n\n### `genshin <uid>`\n\n别名：`原神`\n","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@2.0.0-alpha.3","dist":{"shasum":"c26423eeb4f40212a8d5d88cc09199896493a076","integrity":"sha512-M6uf0/se9rEzvzYqYjOYSmVgnw8Yoj/aMwJUXPu0/k8KWez32SjtkdB/Pk6CW2VFiUjS/XlzS8ldLVO3WeCE/A==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.3.tgz","fileCount":20,"unpackedSize":17363223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRPuHCRA9TVsSAnZWagAAZYYP+gPrTUvUoH13i0X58NTn\nVTOWZYoCqDwXdUQGux8Qd1K68JFmuGwgsUNQYh3hfm3gb7sakuSZ6Csp+zRI\nKkkL8AtQEBT7OeWqllIqEAGRCt08yCJl2PU+DzDR7y2eGWz/1DRxErsqEtqy\nQ2tbRYZXFN4rzeZqPBRKVwIAI9YYZRWeFAmnK3MPj3VEs8k3sFnCzpdTgr+k\n/7SoCFYzGWj2ueleXQLLP4LGxRPhKOG6vOjTO2nvip+UiaWpPrVTSRBU/bkj\nBlx7lUzwElCmVfPm1xJ5liWF67THBwvAF7urPWwPhofedVMFfQ+o9HsNtkqf\ndYUauUTg+5hDPOmCcNCdG8uoMBdNwIj9JWBOaRQEut+/TqUlGv+gnHp8Ag0x\nQz4PpxeSgdPaSRFh3JX1bz8jvvSnVfSegDDdiDGhugIXoZ7Ox2bW37IhN6Qt\nnD0Piyvrj0WAJyU52k/D9G3TvToP+03imGOhHBKCB/PNgSnbBZ8oDMUgvjF5\nveRsApN0uDAb1IbHjcYjMmcVAGy2uRonwRV1wlHTFnK2v3kPGCWKg/aXPm6i\nlml+QK2GEY4XWRb+WeBvTDdstvvyr0I2fkrNJt6Vulx+Q7TgBQXUTMhHGRkC\n2WCBVJyCIeAeGIY0jDq12XedgBVuLSP8xubxdNdyU6VB2LdY6REoOoQ58RlL\n2bej\r\n=rgqp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDc+OrxLvZR0dR8K/FATUFq0b/T4EM3R8ightUWhO9sCAIhAMPbmYC1dk83mSb8WTj7OPE91gRKZuzU3TQsnhEmTkG7"}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.3_1615133575129_0.650453025837695"},"_hasShrinkwrap":false},"2.0.0-alpha.4":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.4","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"dayjs":"^1.10.4","fs-extra":"^9.1.0","genshin-kit":"^0.3.0","koishi-utils":"^4.0.1","puppeteer":"^8.0.0"},"readmeFilename":"README.md","readme":"# Genshin for Koishi  `koishi-plugin-genshin`\n\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\n\n## 安装\n\n```bash\n# Via yarn\nyarn add koishi-plugin-genshin\n# Or via npm\nnpm install koishi-plugin-genshin\n```\n\n## 需求\n\n目前插件需要使用数据库才能正常运行！\n\n## 配置\n\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\n\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\n\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\n\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\n\n```js\n// koishi.config.js\nmodule.exports = {\n  plugins: {\n    // ...\n    genshin: {\n      // 本插件的配置项\n      cookie: '<您的小饼干>',\n    },\n    // ...\n  },\n}\n// 当然如果您是 index.js 玩家也可以这样\nApp.plugin(require('koishi-plugin-genshin'), {\n  // 本插件的配置项\n  cookie: '<您的小饼干>',\n})\n```\n\n## 指令\n\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\n\n### `genshin <uid>`\n\n别名：`原神`\n","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@2.0.0-alpha.4","dist":{"shasum":"b3a4f6c21ed87909096aabdd9c358dfee3922479","integrity":"sha512-eNYrgMJ01VjoTpW6njYlHuaYiDnQkLY2wCW6adxdJ+KMwkEtcIO7jBFODSZdN5GepKxCdRaxw6YsXNyxyqGuew==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.4.tgz","fileCount":20,"unpackedSize":17365341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSeBWCRA9TVsSAnZWagAAuq4P/3jZDmq4OKvnmtxBTE7r\noqNuopdZ0L19gXU0noYiBVNUFu6sfcc1W5zd0x1apRHYYGmkzW1RiwXZr9WK\n0ClOGajdKMT4hwcYV33+CgoYf0TRaVzQd03pb6PjUWeG2bjB8tUYW9xyDquH\nOzqXxCBe0VTPoFJdK0ZM/F9bPC+opAzTh0PvvAC3D3sRx7T/t+VI/I9GlsNb\n87kd8ekF0e0uBPljYdeKwULTwdestt+fwmA9BP2kQw4x/6dhVBt1JAVhX2nI\n9AZmiOSW+SM3QqYIhcNMyzF/T4dyrt+hB5qUy6mYRIcSiPQMx4eHQqtmQ80f\n+Bi6Ubz2Yx7QyJElyx19hEncQ+yXKyW8kjj9zdvPh3MUZCIZevaBg3FHW9mh\nUP8t6e+4i/a5IBqspicfT7iqvLNmpAb/8aN9i5FgnXYa1jYVds7CCRAWCkRt\n6FFIRFINXQMcfiIMB0Qm4x0Rqi2/uuL+rSLijnUDBtY9CNGaAiTcIzMNmm46\n4CnBJ74JJ0mDBk7bvxROvRTmhiN5xLt605FWwcfEz6d8baZAL24TcvomNbGU\nCqHRik0hLsnyMf4lo54XLtyRHqqGlbkzq1X0xq20rhkd/ENPBb+VGn6sLZJ8\ntiduMa6wrK2B4dtvHQb9t6SqA4ghD32CeCOZXpqEQXuP7bh+PScISevMoDXO\nxZ2/\r\n=qg68\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEaRtUK/bitlftD4lUYCnrYHQfPcC115T0DP02xUt1IHAiEA0qg5mkQ2XQ+XGfpVhrXRr3ibz06bM7N+i6MD9zsjico="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.4_1615454293563_0.3607745141465639"},"_hasShrinkwrap":false},"2.0.0-alpha.5":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.5","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","dependencies":{"dayjs":"^1.10.4","fs-extra":"^9.1.0","genshin-kit":"^0.3.0","koishi-utils":"^4.0.1","puppeteer":"^8.0.0"},"description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@2.0.0-alpha.5","dist":{"shasum":"07b0c7306850717c4f957d17d66f843b9c5d26e6","integrity":"sha512-Bzzhp8KNFDJNzOVbtODFT6bvzUqixTStTYoc+xg0XSOngWPAI5u95k0/PHiJ3IwvkpZd0q2QvwNNB4DOTWJ1IQ==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.5.tgz","fileCount":20,"unpackedSize":17365884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSecpCRA9TVsSAnZWagAA3HQQAIv1MwxfBKlE67S+3nDf\nPF4Fp0QUVb7w90PAxsnAOdkWz92o9XvnUZjzC5CR7q3szW32v9h1ktKjOAxT\nD4ZPIhBZ6dA/aOXdz3eOOeZ6zflYjOWpTlWmDP9MaEwiPgVQbCJfc81chrjm\ngwm6SPUysdyZw33CFrA4vSwZsyClIZB+GiwE22GHmSwN8HDtgGkkQTZ6l3U0\n5Dy4MELnBYeu22FlC6btC7rnWoTXnX1cwcLBc8GTIkyHJuxOFit0HPerG/64\nNoiZufwMLLA7omyKW0InypbNj1ZR2AKSS7iWdQTtlTFqU4ZSyZlW1gSlIomM\nVwCkyfRLIdJ6sT1zfNUvFo5CkNkAWcb7mGHayKbNLUK7AE+5nJzKssJU3tLe\n5ZouIKXKIiKY2SEa6kG2yZYTZYLjYnlb50YE42httBSoYpYYEj833aArp/o4\nm5hLUWyhGUrKZWpkzEHifQpxZbDNsr+M2DlQjUDDbEp8zajs9ngFsxA3M6Rd\nPZRTCQujNwzkYcLnQ3wHn80vr96+/aRKsK1nUffZQRPZfjw9yp74jI4hiY6U\n76PJYT43TJbNnnwqNFCAmcazS5rJWQSlq9xp5jc540uMQqP+7YGkba1AThXm\nNJpaKYkX5AO44L0mO1NAvNfjWTM5SXHwYegewijhg7X0g2h/TWy1Cotjkncl\nxrJN\r\n=E7qf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFOIm85Xqtgs9txa203+zA/5B7b9NG870fc5NNTLp1GwIhANXy3zozT1P6bqWferfdK0g7PAt4Qb4JRaVoY4lDRkvc"}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.5_1615456040795_0.8162749433822158"},"_hasShrinkwrap":false},"2.0.0-alpha.6":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.6","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"dayjs":"^1.10.4","fs-extra":"^9.1.0","genshin-kit":"^0.3.0","koishi-utils":"^4.0.1","puppeteer":"^8.0.0"},"readmeFilename":"README.md","readme":"# Genshin for Koishi  `koishi-plugin-genshin`\n\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\n\n## 安装\n\n```bash\n# Via yarn\nyarn add koishi-plugin-genshin\n# Or via npm\nnpm install koishi-plugin-genshin\n```\n\n## 需求\n\n目前插件需要使用数据库才能正常运行！\n\n## 配置\n\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\n\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\n\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\n\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\n\n```js\n// koishi.config.js\nmodule.exports = {\n  plugins: {\n    // ...\n    genshin: {\n      // 本插件的配置项\n      cookie: '<您的小饼干>',\n    },\n    // ...\n  },\n}\n// 当然如果您是 index.js 玩家也可以这样\nApp.plugin(require('koishi-plugin-genshin'), {\n  // 本插件的配置项\n  cookie: '<您的小饼干>',\n})\n```\n\n## 指令\n\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\n\n### `genshin <uid>`\n\n别名：`原神`\n","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@2.0.0-alpha.6","dist":{"shasum":"9f646bab876548d9ccbe06da5ba8f61161ebeee4","integrity":"sha512-HjEARFUDQ/0wo1uuH/KBUwmfA7qKefc0iSUvxnMUOf1ha+hXLIz098AOpVkF9hvXFFPVkRkNoaiNez2vP7knYQ==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.6.tgz","fileCount":20,"unpackedSize":17366697,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSe4OCRA9TVsSAnZWagAAnUMP/1+CWeqJidIYwba1ahII\neImbTUMTSFbJXQ653aSou17cp1d454dTQ+8OyCp2FOc552HTNo24L/SNbS6+\nHUL1dYuq0TGk23zwohon1CwhGY+FvogLUWXnE+JU3IBo9iXl5Q/5+6Svc9yO\nZYQMGwl3G8+IAEBVcV8YNOiLQfS/p9QEjmRW3bWHc2nXMYGtsnTYNd55W9TQ\nEgDKqFrc3TK1eKbxsCi+tBWouHL6UEgjIFAQJreW2VwB9n2VDwsYOVF8FZLs\nOco/OFEKnOQVDlseGa/qnSk+ggCDDMzsZ4Y6QLNrKm1xJWWfQ6rnswxu+PQ9\nmXXuSRB0OQrKpPiR+uNQnxJecTSO68IAH750ChGO/JbhD3wriLLvxvtrhbwZ\nknu2EZJ1SXLIkD62RLTUFJMQ+AaXW7lR3eflwQmno1eCT/Jc7edD6uyUH3EW\n9YSwNkO90MhOdvhzX7xPgrNCxehM10L22zcNVhy3Y55jcwQOxPUrULfd+drL\n5aT+K8ftwASwaa185xKkXDB8GcrVVajybqwkft9c/pSgy9VkR5bl7fvA2Urr\na7e1+I316UJTgFm5GnZm795Hrq6n7ZAWn2c1TGId8vu8nbflR44/hfnr3Xbm\ncRSwmndyaufL0RcCDeEWj87XEdventECBJLQQkXJxi6xpwqEcfgtET0oM95h\neCJ9\r\n=O56/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIHga/8R2Y/e8fI7wUNvkcimGwISCJ6g9SrxCfdYoBItZAh9bH8vl/09ALb/gk2VN3lyhv82fYXCxJWwmdDvQ3pce"}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.6_1615457805807_0.44381482723385224"},"_hasShrinkwrap":false},"2.0.0-alpha.7":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.7","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"dayjs":"^1.10.4","fs-extra":"^9.1.0","genshin-kit":"^0.3.0","koishi-utils":"^4.0.1","puppeteer":"^8.0.0"},"readmeFilename":"README.md","readme":"# Genshin for Koishi  `koishi-plugin-genshin`\n\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\n\n## 安装\n\n```bash\n# Via yarn\nyarn add koishi-plugin-genshin\n# Or via npm\nnpm install koishi-plugin-genshin\n```\n\n## 需求\n\n目前插件需要使用数据库才能正常运行！\n\n## 配置\n\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\n\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\n\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\n\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\n\n```js\n// koishi.config.js\nmodule.exports = {\n  plugins: {\n    // ...\n    genshin: {\n      // 本插件的配置项\n      cookie: '<您的小饼干>',\n    },\n    // ...\n  },\n}\n// 当然如果您是 index.js 玩家也可以这样\nApp.plugin(require('koishi-plugin-genshin'), {\n  // 本插件的配置项\n  cookie: '<您的小饼干>',\n})\n```\n\n## 指令\n\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\n\n### `genshin <uid>`\n\n别名：`原神`\n","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@2.0.0-alpha.7","dist":{"shasum":"c0c312842af97f6a082ea2a96594215426cc97de","integrity":"sha512-oXuZA7brEC8EnOjJ9g53QpTWlR+fPXMWeCveO6/S/+lDYYLUeq8t/VsXW6QJin3w218M/JnOLxeD4LZjuizkgg==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.7.tgz","fileCount":20,"unpackedSize":17366697,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSe9rCRA9TVsSAnZWagAATLAP/i+m9GTd2yi4WTn7qATf\nK3J0Sevyc4h6JE+AlpTm6oewSOjjg6UEbvBrsdwJvSehP6usKTj67hovom51\nPaD3JPDG8O/rOQFfGi161luLX6rMZukuy2zWVvo4vmurQqX776qKU17n59wH\n9RqIEMacXIlkZRfSo3qO1ueGIIZCy64LP33yxulh5+PZqbo6LCoHYq2f56iR\nk9UnLjafJypanfWykGGOSVKEyagYMzBX1fI7OnlkJwvP+zR+N/jYAZO+sApD\nXOcWXzWSfs+IJ8ZpxLP4PHHGiFSIogto2gHXx5cAOBblrZwFO9eWSxwRYG4G\nnilCwyzJeFPB7uMCzfiCy77YwkiVFPOjapAaq7vC95CGbB3E8add/6lQTG/J\n/gtYWax/zZt/5rEKtU3G19h1xPv/141GSe8LDw6MkbS6nFgVld2bRJTpn2sx\nNji4hUwjvVHhWkSeImWuSS815f3P7HEMmI1rCLfEQpQeZ40QqsDOLkirYFCR\nsG7gMZYi9Xl+0RnT3WUcPThXuwUC5RG9lW3uaUHoSP0RZ78usJQ6urEqqR5/\n7agZC1mn4q9pm2meybedz7g/22ct8CEX9Xw0b4LzSyj+Eed/Wp48lQdGcsxA\n1s3aCLVza9pDKQt7kXE1KNHZs1n4bqEU8DtDqz3pPwvZ18ejTrjJpfvzT5BK\n2iNL\r\n=49rS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFMc4MSvHwFBvIrbpxIXSCjwAHKDXywC88sGNci75HTpAiEA21k24M6nNXNo9WFH+ibCInVoK6O1duPxpLk2W2Tdqpg="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.7_1615458154841_0.9081199446989747"},"_hasShrinkwrap":false},"2.0.0-alpha.8":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.8","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"yarn publish --tag latest","publish:next":"yarn publish --tag next"},"dependencies":{"dayjs":"^1.10.4","genshin-kit":"^0.3.0","koishi-utils":"^4.0.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readmeFilename":"README.md","readme":"# Genshin for Koishi  `koishi-plugin-genshin`\n\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\n\n## 安装\n\n```bash\n# Via yarn\nyarn add koishi-plugin-genshin\n# Or via npm\nnpm install koishi-plugin-genshin\n```\n\n## 需求\n\n目前插件需要使用数据库才能正常运行！\n\n## 配置\n\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\n\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\n\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\n\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\n\n```js\n// koishi.config.js\nmodule.exports = {\n  plugins: {\n    // ...\n    genshin: {\n      // 本插件的配置项\n      cookie: '<您的小饼干>',\n    },\n    // ...\n  },\n}\n// 当然如果您是 index.js 玩家也可以这样\nApp.plugin(require('koishi-plugin-genshin'), {\n  // 本插件的配置项\n  cookie: '<您的小饼干>',\n})\n```\n\n## 指令\n\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\n\n### `genshin <uid>`\n\n别名：`原神`\n","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@2.0.0-alpha.8","dist":{"shasum":"eaa54527f0d259e5cf53a00aa72abf9e8ea3b994","integrity":"sha512-+S2NMq76gr09hDNq8Z88foS/fs8orZHdP4o0TnHutmiYhgqIDZd/1M051k539B7/Rs/vZo9GY1bpAcZP1GEJYg==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.8.tgz","fileCount":20,"unpackedSize":17367667,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgT5DZCRA9TVsSAnZWagAA2DQP/2RalbVVQsfXaUfdxtCQ\nmgsKIoPGU9LWnBpgovEtN8kCh20FWz0ZRKNjXIYthB9JDrI2WAiaLPtoTWW8\nGKFJ33y3IHXJ45Im0RyohQJRUnGjoUC+DmXUlGYLQWx5LmasexXxRs2NkKKo\njkz2/gzhqiUMyEN6II9UmUeXYpMwhvz44lnRro8eYgpchmg3vUvxXydT/chD\nbETAOgDveBizovlugMTxc78Z38Ql1pNch6kVU9qHFbFnxVndOr2dM9KHHI6u\nbOaRksMrVmmi5oXbu2elCO7Cm5ayYV7V8kXDgs4iiSXLJqyxpe929QhHfHXj\n1rZh1V65vDye8fXWTGRzoXcX9cu0PxVtCHAAhqKgXSAJepWWOnG/kIz4xXM/\n4c3/kd09C6BqRWeXeRUfSYgghjD4rCmWdejH+MCCE4UNpt8D+eSbE5ho5lbl\nlCCpOt8xhGjxIAvTkf9+lBCQ2ZpsmRZwQnddt7Ni8zpl+5VtzDgwQNtTJ0Xy\nnnbNOChLbSDNOX6mu2R6GibXRxyFjAA5iwQ5sDiMM8C8Ymj7jmC8mDXMANmk\neh+qNV6wMTaBgWe5Pew8zJxYa8H/a+537LsSZ13f9InVF7kF32u6nXW7SzMZ\nF2YrHpMVV1P2uCzYmtoeDwA38JA8+RbuPSqTCRCPe80B6RVZIaxbITtawWQn\nk2tW\r\n=4o3+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6M5/EBP0LQgU6TniEWPdVMJJBXJPl4oY8AXq9jgcuywIhAMLE5Mxr2zaiysE+oRoMvDBb4dfqqHOvaiGI7TAJkXt8"}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.8_1615827160956_0.5755290333507432"},"_hasShrinkwrap":false},"2.0.0-alpha.9":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.9","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"yarn publish --tag latest","publish:next":"yarn publish --tag next"},"dependencies":{"dayjs":"^1.10.4","genshin-kit":"^0.3.0","koishi-utils":"^4.0.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readmeFilename":"README.md","readme":"# Genshin for Koishi  `koishi-plugin-genshin`\n\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\n\n## 安装\n\n```bash\n# Via yarn\nyarn add koishi-plugin-genshin\n# Or via npm\nnpm install koishi-plugin-genshin\n```\n\n## 需求\n\n目前插件需要使用数据库才能正常运行！\n\n## 配置\n\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\n\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\n\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\n\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\n\n```js\n// koishi.config.js\nmodule.exports = {\n  plugins: {\n    // ...\n    genshin: {\n      // 本插件的配置项\n      cookie: '<您的小饼干>',\n    },\n    // ...\n  },\n}\n// 当然如果您是 index.js 玩家也可以这样\nApp.plugin(require('koishi-plugin-genshin'), {\n  // 本插件的配置项\n  cookie: '<您的小饼干>',\n})\n```\n\n## 指令\n\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\n\n### `genshin <uid>`\n\n别名：`原神`\n","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@2.0.0-alpha.9","dist":{"shasum":"fbfa490f8b22d09eb2d6a122eddf75a4781217e0","integrity":"sha512-z/pUW2MGq+zFwbS3wXYXG+lORuU6Mixzi4ARbGPljSbAKmLvUgmHcL6FwuJ5Qvu4sADUVwb35/WcU29eGx8BOg==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.9.tgz","fileCount":20,"unpackedSize":17367673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgT5NYCRA9TVsSAnZWagAAQccP/2QOVhrgaC4BWQaNor4A\n/y+jwx4THlYTdU0qeGE3LGUgAM4EywNH1abRuSr/55dagcAe0H/DBj176ELq\nUuX/wv/XAIOQrP+kG2eIgPQcce5LJzD3iIjF9A6rUbm79dJRPWDrCDJlhgiv\nJKsZLFVJb1HiHNnnL+cPTGu9WnUdQwPIYYTgHrg6sOqEpwNDfvkT7H7uGSLR\nXuErYXaBGfeZKbgzrCVPQMZzmo9sgb6ewddRt8h6eOICza4+KXLJ+IJ2or/6\n0NklEU3NnRDcL7/mL2LrrZmxMfN7T3hYDwM3KyLWsgLaTSkpc6xQ3Y+k/QKQ\n9HBzNlM90GcbS2jesikOI/lE5apEK7LdYWma0wz3UagG6G+EGcYcHDSD8Iku\njBBjBf1GT+z8rMV4zQJgZdmkDKBqXZ60jElhdugHivo8EaQuPCOBRS5m1FGx\nUjoWVXGKnwFYqG729Aa/oz1ndNdm105nZwPHvPa/hfAO3hWsvntnxPSjeDSW\nFONv8Ao30YVnHSQ6qQu73AU8I6yWSrmLY4oc0686SxzKY7csCRSRWpECyBF4\nSx/eWn4NTpvWT/a3DouUTxwSiBMa3/mDXpuY0c/6s7nUeQJw+zd3yaAf+5u4\nlkExfhXCt6jSrtxhRwnTPeMgf8GASXdfOpgMHZ4MS6CBXqlzIZVxo7Mb8UUa\naUCZ\r\n=WidY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAt5mUuM3jzCI1eMqeecAs8fl0bonJ5GIyp6gz4XhZWAiEAiQnU7fJxuTIJ2z1LDIfu0gXEYSiO0ht04jgw0VqiFC8="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.9_1615827799759_0.11712744534305641"},"_hasShrinkwrap":false},"2.0.0-alpha.10":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.10","main":"index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"yarn publish --tag latest","publish:next":"yarn publish --tag next"},"dependencies":{"dayjs":"^1.10.4","genshin-kit":"^0.3.0","koishi-utils":"^4.0.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readmeFilename":"README.md","readme":"# Genshin for Koishi  `koishi-plugin-genshin`\n\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\n\n## 安装\n\n```bash\n# Via yarn\nyarn add koishi-plugin-genshin\n# Or via npm\nnpm install koishi-plugin-genshin\n```\n\n## 需求\n\n目前插件需要使用数据库才能正常运行！\n\n## 配置\n\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\n\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\n\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\n\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\n\n```js\n// koishi.config.js\nmodule.exports = {\n  plugins: {\n    // ...\n    genshin: {\n      // 本插件的配置项\n      cookie: '<您的小饼干>',\n    },\n    // ...\n  },\n}\n// 当然如果您是 index.js 玩家也可以这样\nApp.plugin(require('koishi-plugin-genshin'), {\n  // 本插件的配置项\n  cookie: '<您的小饼干>',\n})\n```\n\n## 指令\n\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\n\n### `genshin <uid>`\n\n别名：`原神`\n","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@2.0.0-alpha.10","dist":{"shasum":"bce73682d4f903f0d136b52c94e1c38f722fbb59","integrity":"sha512-DVaqxCG4lPW2XYxgTiyzIz1c/YocIHnR5AlEk/4PrmV8LVNtck2lwEEf49OFUun1qJNmfdAG/PfQxd+s7NTEew==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.10.tgz","fileCount":20,"unpackedSize":17367664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgT5Q9CRA9TVsSAnZWagAA/bUP/0M50ztXNdHzsfLHlWpv\nPdcti0lGavZ14cTDEYNNf7Zp06fPYCDpz+ujxGHy3k3ysoaF1pTfupZ7v6MN\nXB+yumzxjcS980AgmmIKSfqjtR6yFWBS2SS4L9G/vDb7rpk7Q/3UXxlg4ci/\nFsCGL9rYxIo6PaEb/XlGvKJlf5ZM1xzyBDxCoznLZNqbX3vxDRuyfF4WmO93\n3Ns8spboSym0Y0TGVLFwtb708wmYqAsf8U2LHHYkNoCZvqtjkkAzivY+s0Sr\nE0luGgXXKmfFTDHUxSXNBQGajsD6zLHVi92tK2UeqJvi5B9ogMwcoxrpbgWR\nHx507PUc4DJA/ydYbjLdTcDhd3xg7OpV1HlLdF2hpGnB993yHfL4pJTi5LsS\ny4c6pnvEmVbxMgHheT2I8qWCynyPh4eqQgYES/X1guRvjBg9SWtuoDNJbtqu\njYa7ViLQBquhzLL5wZ4BzsgqxCWTi7lDVuSuAzNgF5YcvzaPHoPqQS1mAGEd\n1x4rmCKGbAVhwx/enF6iotKS6plbgoQ0raJZQB1yRnoaM7Bk1RsY5iFWzBrU\nu9fOmHP8Bqoo3J7fF4BNz/gljTxrw0CSvO4VO7EXd2M5EhIH9dt5PS8e9MUp\n2BRIQh/wdBM6kguVrrt0xrXtszURJi0Y9qFPQkN2Ys32vR5hXK870CKN0X7l\n6qA4\r\n=9oRw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZqlX7Ace9YLD1m0QxFHKoHEB7f5a5rWf1tqjWDjLFAAiAoyIoQEoaPqNc8neIGldPPBlWHEpFblnobgskhMi4omQ=="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.10_1615828029044_0.20377879367498575"},"_hasShrinkwrap":false},"2.0.0-alpha.11":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.11","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"yarn publish --tag latest","publish:next":"yarn publish --tag next"},"dependencies":{"dayjs":"^1.10.4","genshin-kit":"^0.4.0","koishi-utils":"^4.0.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# Genshin for Koishi  `koishi-plugin-genshin`\r\n\r\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 安装\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 需求\r\n\r\n目前插件需要使用数据库才能正常运行！\r\n\r\n## 配置\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n## 指令\r\n\r\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\r\n\r\n### `genshin <uid>`\r\n\r\n别名：`原神`\r\n","readmeFilename":"README.md","gitHead":"375714bd76bed3137a05c7d263a366acfc4b8638","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-alpha.11","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-PtojP6uLDKTTxnS1mO9XUeGTGETDsQHtBic6MV6MSJcaW0zRpKYQeZku9/UMUKVsuu3M96G8EV0hZYL6mjsmTg==","shasum":"af01048c74250708cf68b98c6dc455d0905dd0a4","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.11.tgz","fileCount":14,"unpackedSize":17367971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVasfCRA9TVsSAnZWagAAWOAP/1/SP0tqOBB/9Nj2PVs3\njq9Bq3R564lWzl5QcvBN99GewvWZu4omfA+iU1l/6ZbfVNr3oSTjSzYD28tN\nsKqCmqtiyGJuKFoH4vSSwrIuCYUV1hda7YCyjjpJ3qi7rpPRt7Ls/GvIbqeC\nN5Xug8XFFYb8onkbwI2I0eueGEGdxDeQy5K6DddbOCtEK/Jxw8wgljMotH81\n6oBOHcmoiSDzoAAzQCxZ5EAdE/g6C4oKT5ipLQZdNVwoISyRfNMKDuZU0Ejo\nbGlKd3jGQgZjPekWFXaTPlR8laH0XSA64xQ/ZDZmdx+zp0HNeUzTtPK/9qQT\nPkv98Obc3sndvSOBz9UacWZMN/zv0iD7fzpN+xitbRjBFWQCua0yX0nfcT4l\nM/FoqvJgLdXFpjLc22N74qOYnJq05MJVkOLNKQ3pU4zpZHDb4ocAXaRwOOYt\nbIvVxHFyBWHgxwb+T8a2B7VbqTEIB3M41X2n3aa67WGuckyBPUpnsyVu8o0n\nQDsq8JdLRnVhr9vTNr7JJBjuSkrdeWrHkHGB9P2Xms/XOxonEjNoqYxCZLI9\nMD86iicyH2Ju8Wb4Rh6UfwfjJ9ErYBVTugM+h/gXfBSLfe6IiIrz42kIGwWk\npqX8xkxZ6h+8xeIQI70ArtRksqt0/+k2EDH+9ROVLL23ryOx2FxnZlEYWf01\ngSL3\r\n=cN8X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPFiVTAPtgRnaKxRjpLP+yUzVzpwKsztXucVLbmO4hXAIhAO5DjSPBGm/yK3HUNPfRngRrOq+64flEBF8wKx0RUaAQ"}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.11_1616227102508_0.9308158773180155"},"_hasShrinkwrap":false},"2.0.0-alpha.12":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.12","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"yarn publish --tag latest","publish:next":"yarn publish --tag next"},"dependencies":{"dayjs":"^1.10.4","genshin-kit":"^0.4.0","koishi-utils":"^4.0.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# Genshin for Koishi  `koishi-plugin-genshin`\r\n\r\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 安装\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 需求\r\n\r\n目前插件需要使用数据库才能正常运行！\r\n\r\n## 配置\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n## 指令\r\n\r\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\r\n\r\n### `genshin <uid>`\r\n\r\n别名：`原神`\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"fe24d63ce4c63bc4504b4f19e36ac2fb2dafdaa1","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-alpha.12","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-8wN6niDD+VVUh5zmS8DSPy9FJ8SLmyWzfJHVaufmN3AH7Ax/3+o1MaJjD96xCailatJ0tnZmiI5YVtkDtr/+Xw==","shasum":"f9e8d605e91a9a20056a5f40290c88522657794d","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.12.tgz","fileCount":14,"unpackedSize":17368224,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgV2OECRA9TVsSAnZWagAAKFkP/0AN46MUy0OyN9iVHvl1\nW++w2yrUrpfP4BEIo3i74BriOhtZD0d5DsZQTIa0JzhN5GBwiA8y3VIyRuC9\n95OLhN5KzK++8orL2kRE2HKdbmanHFInuflveiCKRU50WdsL9Oszuc3Q4GwR\nAJGgprShGV9D7kXU2PIVR88T5JMAMate0Uixda1ocTdv4+PxjX+EAi4ASAp1\nCxSzfIKIkDlt9F0W9w/900WED6nd1bRgY8sb1sttommt/80FEF91mOOXa5Lq\n5Iidcn6uNdXvjLoR6Pp1jiuKV++29kYbemAygPRHnXEhWyGTs0iR9qNRFqsN\nEuuN0oSuq+z+uubg//CB4DQUtrClJ5iRVYflCV+RBvTVvW6Ow0EuVPvsWFOO\nQ0IrHKZn/DiVDdupGK4Unl8RTBstMZo8JO3UYWQoH1ZwFmtorQJ6gAZ5F61g\n0955jta5gVmju+YD+P8uyPAFLQ/yX7g5U2NvE2HHWgnTHloCETZHaO1E+83r\nEMadlpfnbp3qEnDy+lpmcB5qUykwE/d4M9IzlvRHwjVYF2/Rk6ywrsdXj7o/\nmWra9ST4zVY6Wo2NrHVQdwPQrWd8LWj+z49Y0hHQki3ltKqA6Guhb9ND0xGf\n65vXRlO+eY7Y2U+LQIUuBCej1TpuIjERPsWqUb1UTTboet0VLm73l8myoJlf\nUV1L\r\n=3S44\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHlkFMUxkEC8+2ion4wyJ1IJvP4kwFRW5/setpHE/aRTAiEA/4ybYMHfJHFUkYy52rBV4KjMfUA/LpQCPc+J2q10F2o="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.12_1616339843808_0.3179635028832539"},"_hasShrinkwrap":false},"2.0.0-alpha.13":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.13","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"dayjs":"^1.10.4","genshin-kit":"^0.4.1"},"peerDependencies":{"koishi-utils":"^4.1.1"},"devDependencies":{"koishi-utils":"^4.1.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# Genshin for Koishi  `koishi-plugin-genshin`\r\n\r\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 安装\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 需求\r\n\r\n目前插件需要使用数据库才能正常运行！\r\n\r\n## 配置\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n## 指令\r\n\r\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\r\n\r\n### `genshin <uid>`\r\n\r\n别名：`原神`\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"dc6e08dbfbbe1fed7cdc649d44e9ce92c67ac119","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-alpha.13","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-CxEYmtkTjbgPTTWBoS4hlihzulh4Q5ZfafJO0SobV412hJ2yKsZS4zrsPeR3mBPkfytHpZaqRJHda67/mbcoag==","shasum":"55644838a89b828485ef620791c898a37fb6aea5","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.13.tgz","fileCount":14,"unpackedSize":17368662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYDakCRA9TVsSAnZWagAAAk8P/0ZnIjiruGQzXnkn218j\nMsC6r0+33VzEy9f6pC11fgMMe5/pwVvM8RkJpastwvgYlrT4+kw+/uPJFiG3\n7E6oufyeBfeQdQQHaVxuThaZWGibOH4P6lAEYxnbnSbhrMLjBnlChXIx/zRG\n0a9xJTvD2dqJ1/APFe6FHFE7N+2puSMeY0FIjFyZApu4IlLwFqOdIO1F2cS1\nYcOvI/MEGi5hsKFLnFCfI5rtLq/r4Ztri5lIf1Ag43w+yfmfxFUzNXBBQDnZ\nimgH0g/AaB57XT+13TIQE9gbuSdZtRSrKm7f7aBzGE8rcggmJuQ8ZOKtyy65\nNXE44JGcnirf5P6kTIN0JYhNaIJ7MaBy0V5ypxrrTEWAuqFrZEHvTm0jcVmp\niG5LR2LOaybZp7TDRnfUiKeclu/ISDeEO+ELVsb8bECZG502IS9p8aNL5/pK\nZla3A2KdlzgbRssC7qY8oK4IviiMCSiP9HMV4ko1ZXtUqbA35Kg6OqxCMi1W\nZeTPUfioW5c4MUu83kFE+Gip39mJKhxUlWDlzitkPNGi+S6VLUGLKRIRgLO2\nRHqgp5X83yG1umzxCK5qKmfASmu8rFkY1/hdshWtYE3hmrN6lZ5Sia4t4LG6\nUOkjIchJkBZoj7CqU7eQr7mraSFeSVU2BXl+DZ8wX5f63I0ipgWo50rxHmL3\nLP1A\r\n=xGIP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF4B6y2mT+nGfGx+jz5yL6jAkH5T95XKWQA3Vnot2CSWAiBQTid8JwgRS6lOoR4/0bBwsc0M+IdsRPFWtlYzdW4c+w=="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.13_1616918180157_0.36576994557479314"},"_hasShrinkwrap":false},"2.0.0-alpha.14":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.14","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"dayjs":"^1.10.4","genshin-kit":"^0.4.1"},"peerDependencies":{"koishi-utils":"^4.1.1"},"devDependencies":{"koishi-utils":"^4.1.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# Genshin for Koishi  `koishi-plugin-genshin`\r\n\r\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 安装\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 需求\r\n\r\n目前插件需要使用数据库才能正常运行！\r\n\r\n## 配置\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n## 指令\r\n\r\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\r\n\r\n### `genshin <uid>`\r\n\r\n别名：`原神`\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"3bafef3d9533c662860e6c4568e5492626da721f","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-alpha.14","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-WsNDWcF97So6eZrpeRZn3ZC3iwyBObZI9Uf1BP58A/VEZye9Z1yG/VHDX7QL+UwlzvplDRn0Cmq2Zid0Ja23bw==","shasum":"19b3219654fbc7a9781643f5b3b6e408d3236933","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.14.tgz","fileCount":14,"unpackedSize":17368687,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYDq+CRA9TVsSAnZWagAA2YsP/iC/1sCmFr31zt3+T3qo\nBxCvzZoTo0UsE8XqGHwTVVTii7z3/LEgfooH85FHhX5v/CcAb+hJBGz8rE/j\nfuT8jVXoj2IXpjb06MSB/5MvXgBNaSoo5SBRFzQ6iY0akQiUrwt99iwqhOE7\n1UDGUyUfRfVPbW+D5S0G7jSWdcGYAI2rZEATyNbv5SUyf09mZYCgtjtH9J29\nZcmJi8VBMUiEcvjEl7DenRpeUgfYwqsGOc+FfoDDSF/w3e7g09GZcT6zezK3\nE0GBWRRLl9bpnbGiT4OaIPk1/r8E5IKQWhpgY2FhGDVvNRVklJ3cD570sM8q\nwZ7sekAur5HxXBV13kFUVAK8CAwSoBp9isKAmmaiyK6cRXBB2lttPnJywRMp\n3NZON7AubRd6naX4Jq2xehGPCKpbowAIBGVQIg5rTnZTCVOEyoA95VMiXe4l\nWhW7U+CGlLpMX077AH5jDH74TJRvzDFnbxD7fw2FoLE0ShL6fv5rnL15MJF0\nqgL9h6ONY1q2/g5r/iR68OjRj2z389CiE3taxp0NITePm0stACk8xmlwPGCH\n4locPSMPq13mg5wOZYB/en8aGMPLSasXfW6S2TkO9RzMgkKbp2NBItEzz21p\nDmY8kX83v0l7s+jWrmZSczWMn91yI3YH9DPfMmmyaWF1QrATx2OPhkC4pF2V\n1Oy9\r\n=pIgO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCz4Ch5eJcLq0bXErEXGu6aZBI7f8U+Gxw47Ky4f0HARQIgSySJ6FVGLLE/6ZOV++SG6s5hWCEBkUVfCMbvPwQPyYU="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.14_1616919229325_0.7103117882019825"},"_hasShrinkwrap":false},"2.0.0-alpha.15":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.15","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"dayjs":"^1.10.4","genshin-kit":"^0.4.1"},"peerDependencies":{"koishi-utils":"^4.1.1"},"devDependencies":{"koishi-utils":"^4.1.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# Genshin for Koishi  `koishi-plugin-genshin`\r\n\r\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 安装\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 需求\r\n\r\n目前插件需要使用数据库才能正常运行！\r\n\r\n## 配置\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n## 指令\r\n\r\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\r\n\r\n### `genshin <uid>`\r\n\r\n别名：`原神`\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"240ec8cb7252d19d35a2106bf0a0a69bdbe407ed","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-alpha.15","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-wYr8sRFdeerjL17SmFvjrMD0VSyTenueUhAPoeiH0N8qe2jG0AtDRQzqKW77+oX+yvlOkgO2yrJwXkBdML4eEQ==","shasum":"0fa25c90af94b4c1cb0b49ce58aae58728859a0c","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.15.tgz","fileCount":14,"unpackedSize":17367828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYDt4CRA9TVsSAnZWagAAGEUP/iri/mW0oKjD67nbdCzk\nxgCK/lwTJYim2ZJxBvQWpJC8AqhxxieI4lCN7sdyZC/bpTIBRm/w4Rswrj2P\nc1jIkKTXUmlaklhQZnYVmGJ74PUF4Uh1uKxWESafoxR6SFprn71eGlKNDbqp\n7oKSk1tkqbC4D/duw01EUfC7AhvYXVVTz5KvKlrCyVQaMsjvuN+1dYHgJxWd\nJiHXZRT9n731oHkwutImMhojcOBSXgB8CfUHBWV2/qLPfV8RdTzZZFDFG5nQ\neZHvE6nbmKJpLhJi0yFTGrP8JEnGXUr4oeJYD3vJiLUGSvWtvVNkD7LsmceL\nR+FWBvld08/esGbtqb+7Hp20ZnMjb+9zQeN6GkjQiQrtmCzXGCS11YS3kQ0P\nWok3aXq8/Eza6yR4gqCLOtxTfLKCgUN4jR76gCrHil7p6dddBG097IaCv21a\nzqVpjM6kZdP9B29LjYuuP42eSftwV5iEr75zv6o+gT78AMcpUoP6VdbCsN9v\nTNilyia2R+SErxDQYGVQgRHWRvLISN8sAtpzEco7owTYlyxZb/mqx2JorHfL\nNP9sgVXYn23moi5wQ4ryZnzlGykR6uysHjmwkb8rhmzRwayPsB3mnRJC/iZG\nIy+9WL1eRp7hdq2NE4yaEplT456aFDXjF3muC6m+WwPYZdkrYviF2MwLCt0s\nin1M\r\n=+yLP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7q1N8R81gvQNGU5OhpfvpByYcVTohVh3tdeIVLEOXHwIhALoLzxxWLtmOeq0fkdQRuZGAKpEruchSy0aozg+ed7G0"}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.15_1616919415668_0.35870582754998614"},"_hasShrinkwrap":false},"2.0.0-alpha.16":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.16","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"dayjs":"^1.10.4","genshin-kit":"^0.4.2"},"peerDependencies":{"koishi-utils":"^4.1.1"},"devDependencies":{"koishi-utils":"^4.1.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# Genshin for Koishi  `koishi-plugin-genshin`\r\n\r\n**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 安装\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 需求\r\n\r\n目前插件需要使用数据库才能正常运行！\r\n\r\n## 配置\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。绝对不要把你的 cookies 交给任何人！绝对绝对不要把你的 cookies 交给任何人！！绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n## 指令\r\n\r\n具体用法请使用`help`查看（~~作者只是懒得写文档~~）\r\n\r\n### `genshin <uid>`\r\n\r\n别名：`原神`\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"4934d615e33b1f997cb6ecd5abe02131e8a69f8a","description":"**原神四季**（_koishi-plugin-genshin_ ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-alpha.16","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-2SrT/KwLuDy8aWNCjjdz6NT9cJbHsVAZnKxyTwu5LIEmnp0lLq3QBbf10W9SBqfXu9QBbc26HEsy5R+3ZKAlaw==","shasum":"7e5f0a4070ba8e3585e4e6eb675b8ebda568c7fd","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.16.tgz","fileCount":14,"unpackedSize":17367828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYD1JCRA9TVsSAnZWagAABLAP/jDWwQUBjhKyPehYiAC9\nNeX4c7MCuQtB82FxiPcD7mmu7blC1tXkAR8HpN7dBVziRlwXyx6EZyiidN4+\nNiQwIf2hdCwFqLc8M14JNKm0HgWRemRL1dfMURbD9P+MMMg+ijb8RIBp72rK\nu4ZILfoaqidUQSX0gMj/9jmYcsmLngf3Yuj2WuTTMXgInQ7EWUCJ1vOJ27rk\nY/wyX6ov9CNAPuMzKuceuu3OLJWSgHKCJ3ibTAKqOezr8VZxC1SblY/cFHy1\nHiQXk7V+il3/F7qRvfLxo57S3+gnVLw1PhAbP61h+bMDSMEJVHMtYtioE2YA\n2hQ8xnS/fmmRm1UfkxZQRmessjVOLgOSJyWgspXSQO+Cp7AhFpdTOqUQn6pQ\n4zNhDgP0RoFsdMqaANmrUrVtPOCg97SLiI3vNtN3jLpGRGjrPPStgq8aiwoN\neJVVEA1uF/EZSgTD4d6W8eF9mqW+35lEw69TSzzQItcfrazxYUxrwJJSMI0U\nqRAgYSqlug1950rdQWYkXhIfqBhuFl3Z5EetVNSW2j1mU/3ZDKqMZFqQHCdS\nlXHAdTn+A3Ij1Rud5a5mHIewapySoh3yEwuH0rhtq0l9TeF5OaUbzQ0nECB3\n6QVsTM6pTh95VJoiCiXKgegmGZyedIoMl+UDtLaNBWhMOkviBpoHuoKSkA0f\nVLoF\r\n=gKST\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkzLEytwZSYikOkkcRJRzaFDAGoScMek+xoIRuZvUK5wIgNSQ+Cdwj3llLdPnIRZn0qkCzsysswtFns00AAflpoxA="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.16_1616919881151_0.21823003597277957"},"_hasShrinkwrap":false},"2.0.0-alpha.17":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.17","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^0.4.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-utils":"^4.1.3"},"devDependencies":{"@dragon-fish/bump":"^0.0.13","koishi-utils":"^4.1.3"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"2923ad37335c05f4fd20dd2cb7dc88fd910373b0","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-alpha.17","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"dist":{"integrity":"sha512-XWlQctYQ3NFheM9z7UqmhvAsuLDz/im0wbrVXSd+srNv/ebDSl7Xc2/7LzA14Eb6VxcSzgRmtrSK8QHRoRzKzg==","shasum":"bf94cbe2d198dd6dc491542e7acfd5f4d3396d48","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.17.tgz","fileCount":15,"unpackedSize":17371400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbbw2CRA9TVsSAnZWagAAAZoP/RztCr6SKDfoZw1QQQ0k\n5TRJ2zH+T3VhxQvJIyc0J1YHnuLk64jfxKODTtkla04lfuVQpHWX3diXDhrO\nVFQLJeu1fXJ6pjJZpMtzYG6J3yEA81fGuKJ08ikZTFW/nS9I+/1CheyXpQjm\nOd63s187msyEu8/PYhCDmnOZ+4KsSwV+MzN3oOuDoLkyleBtJIr3wXqwECOZ\n93Z4N542rgbqDCYhyw5HRpnxnNHGJstfg0+UDFxSQTN9CW4DwjCz3hFZpof0\nE7BmMeZG9iYmdD6GoLOsoTvIvzSZz/QPRIH7C1nHlm6oPyMfHO+/5hFHVR31\nvEyBBD2ADvu59EpLZ1wEoKQtv5JRvaCzAfxr2j+n4EkVBmnYfIuM/sRUXbF6\nCsg7niyM/WBNpDJVJqF9UUUqz9uXMnTaStZg8W8k6AhX3MWlK7ZNZV1WEgpi\nFGuAsFcFbYqWpTbZX0jgGhpswX1BSCoY39Ml5bmg/b3inr7ajJHTuN+GS586\ndMCUE8UH7Pe7lAxtGFfyZ50Hi1kHmIlv5Hgcmw3JbmHUlY+C/yJBm5BkMLDq\n6u2MaBBBKDa/bUwt+f7Zhh3aeU86e2mbcsBvnOSp2m0cs4DEt6ZfHLYeMVHN\n6ovDmlLTB07D6QKWt0A03mh4h/XpsDEeuofutibTpO9xhP5waNFlDMU0MG1v\nkZbr\r\n=RiKd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFXCf3hmOsLDuNcx47fMbmJP6amjwmBVHs//V0odueW2AiEA9luSzgxSdBz+5gtz1K++hn87g7KXONn2nYcwbXEdiEI="}]},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.17_1617804340306_0.710410574468989"},"_hasShrinkwrap":false},"2.0.0-alpha.18":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.18","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^0.4.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-utils":"^4.1.3"},"devDependencies":{"@dragon-fish/bump":"^0.0.13","koishi-utils":"^4.1.3"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"d5e8b180c792a0f0ac4d34337a93e4cf7c1b7a9b","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-alpha.18","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"dist":{"integrity":"sha512-eqCPQ61dbU6OBoPUIxnVncRpkDekhbjC1ZspFQcOo/dfWDfmhBkyHNr+i+I4xs3IRCIJ1dAvqfayESmhNV3rbA==","shasum":"10c1999ae9ca403c4efc5c4b2a8b663c2804bcb0","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.18.tgz","fileCount":14,"unpackedSize":17270533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbcUhCRA9TVsSAnZWagAAuosP/AmlTaGkNMdZmhe4KAqY\n5Faq1gTPKbyliEfalA5VLniWHuEvl2CnRut+dNONtPJv/Fi73DFoOwaqRYW2\nsmAdMMckFfMY8MGAS0IIJuwQIJWuZ4lRjtm4EWRFP0+K/ZPD0/v042q7GQ17\nwQG6nM8+rMvhlrAKHPR17SLN95d5YaatcT0MmadmuUh6egw3l2wnaJqr8JVy\nVApc6etxzmy7/P9/ozehrG4p1zctA98fYUwqAKq+jbz2KQwwRZ8FB/x+RNnU\nk1veRO70Akoq2+LUjHJSkMfwrRA4oFyPh8srrt0CobBR03+HvMYu9xvj4c7H\nyymCR6ikZKSGh1Kxej7rFXjS6n2n+H2FJyMlNeVtziTwFzWRRCRX5SU2IkRk\nSl9aXc5E22m4UhD+Ump8PiSIiEUR/UB+g3Ie7Fw7Qg68vJjOO8PWS2wSfRhR\nSW/sSzk9ZkKu3k60et5Kubw4MeXSBF2BQk96bi+rUhpAdx3S9LRYyuliEY+v\n2sNjG/BvlkBl1YxCbV86/SaLDdr8koH8VxR/LdM8HxGUA74vmsOa4WGK2vLt\nQ2Si9gNb6cq7r0dBDUiogkAfLWKk3L3rESNkIkJFJ6RkmAXnVBjcsF/8q7pv\nxYFhmOobEo7YnNlCYFRJODgRhsYYtuK24XlI6kNdlR7fUWhLovqgwkgTZSdm\nWgFx\r\n=sl/9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDoeYmWkfv7dozQ9pUe7LwxOS4miYyql016V0q/uL3zeAiAVQKvxk8XrDO5IfGEpNKgqfS96drzLzFYMEZU2EO5F/g=="}]},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.18_1617806624398_0.9963786158007457"},"_hasShrinkwrap":false},"2.0.0-alpha.19":{"name":"koishi-plugin-genshin","version":"2.0.0-alpha.19","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^0.4.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-utils":"^4.1.3"},"devDependencies":{"@dragon-fish/bump":"^0.0.13","koishi-utils":"^4.1.3"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"1c7639785d7d99cce3f0bccf3cb70e190737c40a","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-alpha.19","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"dist":{"integrity":"sha512-h4aA5hjnf6ZBgQzwSq6ljfrt6D1LcIT3t0ky/1nMgI9DBJS7hKy1Wwi4SSQUavc2hzSWwcwhqUV+56JPpKmuFw==","shasum":"f1d2939d596eab068f4ec087b59237da7c46c673","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-alpha.19.tgz","fileCount":14,"unpackedSize":17270531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbchkCRA9TVsSAnZWagAADWoP+wSRXqtz77m6mzjSyUom\nSM813FBshORvQP8wJUygrpEbWO+tyVJscszRZk4Yhk3THG1wnpTBPb/ugy20\n3PA0Jyky30USkabiMZyJZB+VoUt2Z2eO026AJdyurhfoL+6u7KyXDfRYXJt6\nRZQQx49WVwXgryA6IrwYfwACaztbaxlQNLXSalH3nvf/DYfJIa5455utf8aG\nnGdOXlLzB5UJmfZrN1ckFt1fv2KanSAyBamwbfqSrSTyQxYRwJGOAG5onLe0\nT3Qo+02wGtcyGoYPhowSvz9OdA0Dx57s7iN8rBG+2Oe1i+bSHRg1qLcHgKvm\nHZYeGbSGO+WfkSe75qI19WKBEASIWiD8iFxTx747QO4UyP8Ftz83am7lj/IS\n+LsOfJoTVF95OriyOJlXbVPMPrHdMSAdb3xKnKzHcQc2qHYGWuLPl/nIPEAJ\nbAtnx0dO3nAfCJ+HZUzDtNH59UOocn5YCMdGC17R3mZIRXw2IQS8uAI3ykBI\n5/YVHEpkyXVwYsqy4FOA8KlXo9KqR1JtDlalRIXcHTxtoTRbgjkEnbuim2gO\nq94YhulbN0WCeotsWtebcz4e2YgHQ4VkBNcZe5wpORLP96gWK669pjLqr3Fw\nusrRmJciu1RxoODDIzxvvKosdPKun7/Tj4C2Eiu47tThtq+lYoDUYm7STw8E\nFYvl\r\n=aKEZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEqmknpfn2bgOWO/23LavaHh69+ePHleRgtH9Xqv7ArQIgSEvqhWEl03zZEv8IDG8GL4Mv5LQJ+JIyYIEEJWmQscw="}]},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-alpha.19_1617807459188_0.04614089571966562"},"_hasShrinkwrap":false},"2.0.0-beta.0":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.0","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^0.4.2","pug":"^3.0.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-utils":"^4.1.3"},"devDependencies":{"@dragon-fish/bump":"^0.0.13","koishi-utils":"^4.1.3"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"ed3a3557f2ca2577fef7e1d11e3e2d3533437462","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.0","_nodeVersion":"15.4.0","_npmVersion":"7.0.15","dist":{"integrity":"sha512-YNkL3Ko6QUp4OdI21Q0cjWzPiUKR/qLodQEJg/9Q8EwIt0CK19uHFJPaoLX02TNo0XIuM3DeE82tqP62raLkHg==","shasum":"606b5e92344714a6553c4a6c9898d281c6d23762","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.0.tgz","fileCount":18,"unpackedSize":324225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcLjLCRA9TVsSAnZWagAATtUP+we5RtRbsSWxal8tfCkw\nWyMrMTVOCTYEXoJc8xT77Ly9zrQYSQ3QUzZ5RZQOYrx9YJ5NvSOdLXzTq6or\n0v7uTnGBChEAO0P46xnG9fbzgQy1RYE7c8Kg+rooet5ua2/Mn4K/HgVrl5OF\n2EioPc7HCXo0440euYEFedloSG8hgeIx0kpJrpTOY5xv0XLGM6OZLRBQIcoE\nIjpChpQv4wf5UTehlwxGiKinsCeJYM9n+o+0VgmLzWe1W0uWjWnO8AjdmSK/\n5A9qRb7Yw4+Z7Oix6o9vEHJWnmeJuTX7YoO3S8bJzKmpZFb65FzeUgfAHcle\n8+WaOraQxziXuC5SlHQXJ6VtK7+9V8Logk8xNL8Tg/PEr7e62eNKdKIRpP3/\nStCvjKtO+LbmE5wtFErOa8BWpnDQda7gT+vG1s2TSkP5idBkRKtdxZ2zb8of\nMwAYmsNAbazGSPqGY/BXTauvTKzI/5+GMcq1Z+of9/5pHrA6XV9b26PJnc1o\nMWsnokhgoqTYLI//ioT6RDHttEQlU5XFXiaI2BRwako9To/DPSVABE0a2k9u\nJQh0iWyxHwg/LjGi2eFIHo0jMw6bsJP275n0Y8mejRaaFQ0Km8yHxfms+VjI\nqORnRVr0Sk8imcVa6A8Z8gIYvAHPqp9v1u8FPxWW4jHrsWx47vJSTd/LYIZJ\nzc9k\r\n=wkmm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQ/62omw5l11hU4/QbKhHpeDxbxBF/8lfg7nX8NB2KUAiBrSTejqy8mD97tgWqo2skZNoUTBVgBT9IXBq4MM1F3Pw=="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.0_1618000074387_0.3841577474082234"},"_hasShrinkwrap":false},"2.0.0-beta.1":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.1","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^1.0.1","pug":"^3.0.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-utils":"^4.1.3"},"devDependencies":{"@dragon-fish/bump":"^0.0.13","koishi-utils":"^4.1.3","querystring":"^0.2.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"d00e7c2a1866efb4c9ec02e5d0a610a678e0c228","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"dist":{"integrity":"sha512-84z8VjJtrHaku3ixACdsoGfOZ7mEVN1LcBpHpPD2GxuXAskUFktjWgDGVbzd8P+HU+JEVccDA96xLlhVKHGmEg==","shasum":"7486bb34cca94864ea310efa1ba95cc55b376a07","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.1.tgz","fileCount":21,"unpackedSize":137504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgc0JCCRA9TVsSAnZWagAAFJcP/jNkpXkHX6p7QTXafesw\nNbtL3bxbOYXqcIBNgQcKumjEli5ECeGPtqFVulC8zALADNcJp7971rVnJ2VI\nukjoQp5QnBwg4bvlPj8sFxvdcWbfyFWezruLtFL/Il9T5olq3yh3inEhcS2P\nldkEnIYe+8udmAMaNiC1JjUCuDtF+0XUrchfIRp9eTrldXl7di/1n3TdFlf8\nBgxCavwP+RlvIJ+bQR36lHEOnDRVsrvjO4dn2cbztDEYQpf4vAxrZS8rz4p3\nRAUBLEzOFcV+PxrZB4Jra8/Adi61Dg9qfWRUuXj0BYfioNZrwzOZstaK0Bod\nX8F4ScM6TCk6uYOF5+2Oz30ttd0fPTqE5USwpw6lTlA4IwqBw54+UqzbokJb\npLSS6qGxkZljAfoB1gFSo7GRW0FScf/eguybVeBTA0gXN1auUpzZpRv9kZYp\nAYeqgCtiHFCQlAMMf7VwQmsX79rOF/UWgzErAIYzvQuTxDBe8Lh+tOS3sOJm\nBGZhKP0GkVacvBq4mgSQptUefVWA8kZYNonOY3GvMJpFO13y6/tdBYIV0UC6\nYpL3V5JZnycVuLBK9GELJe9IuPngNYjHcGUJePSwHecqoOl5l/OpJQnOrqmN\nyyQ2pabkbgW6SJrBn7FaHgtIzqDLYBOb5F0cDpF1ujVw8OoQJx8Vsly+2QPH\n1SrI\r\n=xE7a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC61s/czIHa84gpHPCmhLqmByUXeeyIXAN/R73JCBmqzQIgSAIbAZ5o+D/zR3EdmWRQP0T0n2GvSA9mQU/p49oNXzk="}]},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.1_1618166338169_0.4503052868970019"},"_hasShrinkwrap":false},"2.0.0-beta.2":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.2","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^1.0.1","pug":"^3.0.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-utils":"^4.1.3"},"devDependencies":{"@dragon-fish/bump":"^0.0.13","koishi-utils":"^4.1.3","querystring":"^0.2.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"6316d4f59b2dcedf9a43bae019a4b7e4607464b4","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.2","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"dist":{"integrity":"sha512-K9DMswCwvWOx7FwFnjfPvrRzIxE3zbGcqEnRxpZpLGzwB69ga+xS2M8FCBuTs9o3yeY1x0rTvvT4VzOwUiPveg==","shasum":"4f971ee8f459fa642f86c2f39884cbca7fff856f","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.2.tgz","fileCount":21,"unpackedSize":138129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgc0WZCRA9TVsSAnZWagAAgD4QAItsyiTXuv4zZdeHLv5z\n+0OpkmHXkbIii5T+bWu5EWFZ3MgBvpH1En+5nx9h8uNQ12zfswBMzbrMFope\n9KwN44bFoAwsYAdRbJ8iynHH8j04js0tOjuHpAcOb6Is3Zd+EklW9/xo02Xh\nWKgSMAPsp6f5+G1VNMoupB2rnSWIWNJXPnCsjJh1bbE4TNdI1/H2exDU6Mp+\nBl5pCAiTCQ7NUqOm7FfoN4zAHj95AsyzkKmKas5q688i1HdXKdl7oLooK+S4\nZK5mAQkswFQ/ArkCHPcSq9RSCzEDFIxVJabi8wmR9LJ+N5qZXAcLI0Q23DPX\nsCdHaPFToSdaOeTRIPc5jZHCYxBmUeNgqSI/HcqWr+YUhQTa9ipvvIbgl2oq\nudbtCkbnmq80Ef1HfDUSEEnERjwObUDiUKB3tHCAYa8j+kbyRoDOPCukA2pI\nvLauOCiX0jJTe6zxsJw6po4zFBpYwbypHjB54gn9DMfwmRjkpNtjsq1Tj8FZ\n8hlv1Ru4ClGJ99zxpfJSEFCFpP16WMj+vdunjzDI/jrlEYC0rmHHmdzBKBiz\nSL6M34s7ausgSCdn2dsWkAcJPJaBWVGue/gbssFX0mZPoqkKT3NzpvAA/1P7\nXWQdjjQRcMU7gjavfHUscVnB4IRydDGUAxUBplF/qtbtMh/955XJrald9GVz\nD0+V\r\n=DyGP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAsNJO6KaHhhLrBGWIs6hipu6ggXaWOpNu0GmL4dlXJhAiEAx/nfdcaP5KnEJddGo0f2SnaRh/jNvye9RPeYObJHoRk="}]},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.2_1618167192667_0.04259575665728277"},"_hasShrinkwrap":false},"2.0.0-beta.3":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.3","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^1.0.1","pug":"^3.0.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-utils":"^4.1.3"},"devDependencies":{"@dragon-fish/bump":"^0.0.13","koishi-utils":"^4.1.3","querystring":"^0.2.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"3e5635e00c542169eb1a2b2c8f7b4634943f8e0e","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.3","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"dist":{"integrity":"sha512-nj5QSU7UZNbo9kjT8jXd3/SEFqdPJhDGpLhddMfHdZua/Mlzy471p/PV4UJC8G+0l+ipzh39s3VNyjw2d/jb9w==","shasum":"f74c7e94fb82918f67c6a3258ca007955723f232","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.3.tgz","fileCount":21,"unpackedSize":138135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgc0hECRA9TVsSAnZWagAAwiAP/RclskvwaBUTUmoYUh4U\nxiafERApozgTS0SQ3Dp4tykHibl49Mclih2/C5Aes6gkOIuBop6StqgiGfR3\n7qdSBjL0nrxKJFiSCZXSNFUOC5gG+ku4PtiMYt1MY+ehP5qaYH03D1MKoZOv\nycTKtRo8JGQUsIKvaB1QKah9SuetaFXEavZgbW7boCdEU1NDqbwjjLid9jMK\nCjSkwT03xVS2IupOXO+ULCfOCDfS/QTnFeeKOa6l+XoTRqspBbZE1ao1e+pq\n5N5CLVlu7nEk4InQTeq5b41CSfHuGTtQzd76uOpeX+eCjvNaoaFgMjd4T3+E\n42fFPt+VZdHKKu4Mos69MNP9Z7xtcPuSahzFCaBdusG4a2rY/mH6mUUoVK17\nC0WmwEzMwmNSgUiQ2SpFMCDyILFAKNgapuUjGlC2s1IfQ1cbTTDrt6YAAzJL\nEnrsYWUNk/LnLX7alJpx6Zx9nRKn/Uk/0k4s71UETIV4nBt7D6bR0GlpjPeI\nR98+fUJvywmpr92aoF7Po4nro+95CNuyzYtytUb+FkrBjpIn9rTu2NMSe8Wa\n/1KvgHwiS5hoMUfVNRp9zQvAuRTf9mxw8Fu4f5Yq5QIhjxK7N+XLgP9Jc6tF\nie4Zj2YdLYQHIVJWaOiv0ZOujCBsE53h9Lv5ofAqzAiGM/Q5uyCIXAbBCTWQ\nt7oh\r\n=VFey\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCH3yqwLcF6vKjDH/kudmP06f8jN7nPNKkB3QDA7gNRBcCIARkO7SO5vF/cteuC16XjnRBoMUhNPnGIDDh90nj0s2T"}]},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.3_1618167875866_0.28656199648089986"},"_hasShrinkwrap":false},"2.0.0-beta.4":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.4","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^1.0.1","pug":"^3.0.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-utils":"^4.1.3"},"devDependencies":{"@dragon-fish/bump":"^0.0.13","koishi-utils":"^4.1.3","querystring":"^0.2.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"d728b664f32d00ebd798a5a4fec4ae9d1d162c49","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.4","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"dist":{"integrity":"sha512-p5UQ+ErEzvYVYQj+bieXX10UAefsEx94SQJmiS7A4KP3mcSMhcC6Z3SIe+oq3HWSHDvHaGKyA9NJ4gtp5ssPkg==","shasum":"ed93e5de97ef6cbf26cfd254da0e4dfb71f49c79","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.4.tgz","fileCount":20,"unpackedSize":132301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgc1JwCRA9TVsSAnZWagAAMu4P/jddEHzc3RiTeRXSMMW9\nfhAPtkzM0jYGem4NqLbgrd1augjfCBHpH88Dm2C6le4VwMTsttK0sO9aO0es\ntOAhhRg5Ar2PJeRoDwYtis3WXslDmmC+90yi2nV6fbbbw9uqzWV8yniSNj90\n5sPcaHDnSud922yw3v4Na9RmU164BtqKAVX1NgQgvW3SeYqFdyaTj5kcZdxg\nispU3RnyvgNQKHerFyts//kki2BbT3OHVJR+zI1DlqdUUHzBM50QZS3lRA8Q\nrA9PDK/mTyalSJWiBLPtANKZQ1btqzYhHh0FUuBigSKgwJEzOWpdAHy9BoAL\nXvQwLOeQDrYnqa2rdUeXpioBHYBTiSHWnaUwFb2g50gPTDG5W7M4g73dIiM+\ngMMQM+/bWgNpM/NlO4aqamaZdtHjyg5yvezaIV5GizejLfhmL7rBTwbW5avt\n4fw271Q1qDaWfs1HAgbbj6FE7MgafOewlA8hmfpW11ICVcEsB28qP0/XjX4A\nLi5RI9nY+TzH+WeAh4vui4upChuhPC4cnsZp3XA6EmY1w4eigSAFgpAza74M\nlnJe+PZulpCYTcTn20OnRfI0m3qiVOsypWAOooEELbrSLFJQy9zbMCp3Zs6G\nT5NuM2t9VbVI67cl7UN9f0mGnCpIEPSz9FJ4Iq2383hYwWKbY19P4ijpg5X+\nj6PH\r\n=ugA6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJ65J9mr5tO3I8RaCvf/tPCSRa1Jkp/PBqP1Mx3OmEVQIhAMAkgkjsiWWMqVd4yN7Q08OxxhVcG6Uu1Thjau63wJQv"}]},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.4_1618170479881_0.23948983953530867"},"_hasShrinkwrap":false},"2.0.0-beta.5":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.5","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^1.0.1","pug":"^3.0.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-utils":"^4.1.3"},"devDependencies":{"@dragon-fish/bump":"^0.0.13","koishi-utils":"^4.1.3","querystring":"^0.2.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"3fef1d6de19e83645e5265cb02e766d2128eae45","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.5","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"dist":{"integrity":"sha512-5Jh0f+6kdUag9zbJ9A0wlOCn6PxeDbYfJDaJGc3+cGalJ+Q6uDaJ7j/oNU67/E25eyvA574Lly+W9fBg+wJgzw==","shasum":"fad9b30b9715527898edcdbc1e76dc9faec818b2","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.5.tgz","fileCount":20,"unpackedSize":132319,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgc1OKCRA9TVsSAnZWagAA0wkP/RGktQeUFFZbCa7FrSwq\nzoNYUI2ger1gnujGrb480EIHwbGz4zpQRJm5qPRXnp2EpxdBMJ04hQSGLXUj\nsqt0GEs/8DPceCpL6sjov75iGIeUBHBJJIiN74jwGq6Q4hsRz23fL1wjmN+4\n29fwgxn6h94/QIm4AWeBdsjFPqEI+vUWjUxoas49qreX+0KttFUBdP9sUZBw\nmZF/wjnKWZETwd9vrZHlE/KbKwnEx3MEHVFbndyuUmdetsrwX6qBU/Om/ouP\n5Mju/gwFkHDPbaI3OzRoyCRcPiy9RmQM5LZWvAmQhdEbfXHtxP6P5QaiA2/4\nN9jCuFM5N/rrdICzkfb1MF7pnKKx2Jr5i1Hs6bYnjCskcwvwMsw7rEBrNsXv\nKUBKxmBLrim9IK6jg7jWgo6p1y7cBCbPd1eyd8F6+8rj2YDlLI68j1peSCe9\nh+ngHpMHyH/tewLvUiGQSreecRGwiskwuP9o+pY/gB6xunTgzutoUwhN4CT1\nFGGywaTfXGeyh9OuRDk+6KJ8RC1EFbkF/IolDdQBZ/wm0sKsYnNyYap1Tw0a\n6+QhbKE1wdhATxMiAbmY7Oqn2Py1E65gHVn4XO7xrG4xn4LFv5ZmzVi8Rh6d\ngf3Dlsj1zIktb1td/Xj2KTORkaN/IqTUZIew4o+AYvSXq2EQhKJGXOAxot+r\nyPV9\r\n=FjeT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLfp6JCZzHxgrzfivy5Vf77boiNace233eE3k5w9k25wIgVqmc5bflcUFiAWvpFjRaeCrarbEzIMi39WjHG0oYp8s="}]},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.5_1618170762435_0.9068686064851006"},"_hasShrinkwrap":false},"2.0.0-beta.6":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.6","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^1.0.1","pug":"^3.0.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-utils":"^4.1.3"},"devDependencies":{"@dragon-fish/bump":"^0.0.13","koishi-utils":"^4.1.3","querystring":"^0.2.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"a4027a14b8bc15fa5f3c879d35e9911adb19f77c","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.6","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"dist":{"integrity":"sha512-p3GbvNKcJUaGGQdpZB6WA28LXkqznJ2pr/wXjkmh36GwA0HFTl/d7tLqX5S+opMJ8IjbnGWTlOkl8u+Ve6iasA==","shasum":"a57ef12e766d85433b448718eec681d80e7b864c","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.6.tgz","fileCount":20,"unpackedSize":132329,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgc1QsCRA9TVsSAnZWagAA3VsP/A+CC8+wmuIi3kjPVQLD\n8PNwIi2XbGVBoAP/v9WbExOyY9uDlpsjvcs8lacX5D+DJQLims/DHVylWkoS\nFBR5ktcfeLE61UbZrgEjM0ngsZtwZu7z/81VJ7lbk6fxBDA3NtwLwNt3cdfQ\nP6zR7388NyHsNsmap17IFU55MOlIYdoHiD3pASmVlSu6cf2mqxFkQ2gT53Xd\ncaMxN1JnSGLnhlzq+W8iH28rLgSqRkHCDbDqazeC1TFtjfE6i31Bm0iGjnF9\nvH1nWWQQfK6LlW9Jto22ntG3wIp5dRIVQgov6TIFna/E5a9pZ8v+8MdtzU5T\nDdMB1DOlSWOSsLnonnmgx4jkpLL2L2/0KcVGw7ZWxH9Ieh+3k6heFQgHvL0U\nQxmu/7H2AqcKr4UyNhKkMiwVPDQC7b0NhCoXNg+eIDV0B+dcPGfWuzhR2xD0\nbmVO15IIxlQTp+ToeOUDZ6cy3pNac2JRYf6k2rxByShJQ+HMu1DEQeCKSl43\nK3hbP+05ubXI9hXwdl533CRGMmo7m6M+X/WI301lxrRnCS0Zb/Eohaq3ccNU\nguDWSBHB3f5aJP4cJ0oom1zNIXKqLkjAsYmfSCmokQjLJqJVoXrvkdh6A2ex\nat2ANCJhh3g8WdKyZY8PTU5i9jNg59Bl+xwztEFLg848Gn0kuGU4S4BRvzdR\nl8C+\r\n=ILFu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIYKl4Y2w306HpKtJFvzx+OmLfihc8SOuRM8zaXgNuYAIhAIu/5YaJFOk1Cqs+b9+gzsNNYJWkg4RkgVaKG64GX8HN"}]},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.6_1618170923985_0.2634645995633502"},"_hasShrinkwrap":false},"2.0.0-beta.7":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.7","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^1.1.0","pug":"^3.0.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-core":"^3.8.0"},"devDependencies":{"@dragon-fish/bump":"^0.0.14","koishi-core":"^3.8.0"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"53ddb8bdf1fffc6a2fb5ff75d01aa712cd728002","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.7","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"dist":{"integrity":"sha512-ms6fOmFQSuGdbf9sNQVtviB+AlQTOg+NYNoZDdYauYM+IKtFJUB0evAjFHSS7aL1fp833OtLUEC8+YWHj3B3kw==","shasum":"127f90fa09f357abea674c978992521703999cf9","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.7.tgz","fileCount":21,"unpackedSize":132586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdvfWCRA9TVsSAnZWagAAsOMP/0/S07cDEc9ezWu2vsv5\nkWQFZsMZ5aHcwAe73uLZ8b9iJ0nPyssUS8KBQX4FRqDldRnQ3Z+lltYyfAXC\n/dUiz9pLmGbVXk0cbJDGHk4Or9TR+vdl3PdWPkKyO2JPVeBI6RmeYojdcE1P\n2gPn7LcsH5HplZsASQNjUvO6lc1z/GbJfcNR5d69zXrrs8kQnIkiFP3lydeD\nqThlEDm9YniiiGTDihiSvvFwmHI+0ZZXghO3YiyNs7N0idT57VW/5W1VrvT6\nxtzZ1X/nx+C2c7+0yg7xU5pwQEOMknADfghxIjWDMYjPVk7ziuKMxI4HfapN\nVqZ2QrqoNXeiGL/1AUDCi6cygPimiS/QYeLhklxt48J19oyX5Wy1KqoO4cSS\nm45E8bolKrexTSSf+yN0vMNUWjWTAu1ttkeLt76mkOjK7Rjv/Ot7gGu4Rqta\nZnKrv4aNXJrbRqeu0ZNswOdkSBzwvcVMbDdSDcjgDTdxmKD4+neXB5URJKf6\nTlygQOpgW70UskPD70W0kkw0cX7PVU2Hl0ed2kial7H0EGtQRgr4E9ft1X1+\nxu9yB84HrJD6lCzM2Ey+g97YSFSSTt8vRYOFaqXJnx1txras01ZjR/aXze4c\nxLUyIePtqrOMfoa/AjfCEg65i8rK6Bx6KjZcf0+mGXUaHF9nGDroNT6YKr6a\ngRNO\r\n=eRvj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDBsYjDvFrfS1NfkamHzgQQJORLjBkpLztK4XBTPdtwgIgdt+XBs8YfO0v+2sxJ3bk5rCqQENYgyMEetfnd4a3dTY="}]},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.7_1618409430363_0.8813994161629883"},"_hasShrinkwrap":false},"2.0.0-beta.8":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.8","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^1.1.0","pug":"^3.0.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-core":"^3.8.0"},"devDependencies":{"@dragon-fish/bump":"^0.0.14","koishi-core":"^3.8.0"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"bbb72f11d6910b83caafcf00c1bc1469cd7cb9ed","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.8","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"dist":{"integrity":"sha512-lQRDB/ja/iwwb5cwGrcehpShGYdPZdV85TC/2XrGV7qgMSHTDBD4NMVzsTI1C2eS5calfIxo5xMfCWfoL7MT1w==","shasum":"577cbdd3817636e7927b4f6ba98cab10bce2c3bb","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.8.tgz","fileCount":21,"unpackedSize":132896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeC4ICRA9TVsSAnZWagAACjcP+wccZuMqFuHeAcSqM6LA\ngVhFCY/yViUb/X1p+VjcxRL5SraRyDjuXTwyQBGG12pTsaEddthPNFKha1jz\nePMYCtknHCCkd2e9+RSRqBajilg2vKqo5FVNTsCBWfqr43lbEWXnW0uDkjsL\n3/FwXi+YVnccur0fslpP9LkOWdwRR8d7SweqmhE9KvI/acwSMRTUa8c8xrSJ\nBipKDboOL1040PaRdOZHE/iqUdsTKIQ90FWTIim4hoQFz0Lz4+R9j9XZ4Uzu\n8MBbgPvwkS1bxSxSXxqWnEAzzXSo9mR2DdU0XwGEWFmKrc+WmOphXVLPReNo\nf+qWK4M9m8wZEl2cj8a8CzR+swf5fSklB7ZKM2jWrr1fZh+fW8AD6mSeUNcV\nQhO9NwK9BkiXks7rFZXNC4e8RvcWsMhplO/CLEhN51aHrfI4/qrk/u2mrBiF\nXtGS9ToYJHBRNTCJQt3LhUHhev/OOVsaqVjmtLLTMFlWwbUs5jsM8flu9/ap\n0pMI4tpomtlCyQ8yJVR7XfBx63e5Yn3pEVUUXrjaXFZq3h8GTc7EI7NbT/gV\nPO0f6wIBQswLthxiLbt/PseC+rbAmB/4CF+It1XzuawHqhsh22JkxM15prxG\n6x7VRY1+CB2EDrvQAlWHP4dum9/igcxXjWGfljdLWCVoIhQZvZlgoLXKehfk\nqvik\r\n=ZeH0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG4m64Wsw61ceNHr1kZabKj+KH3vP8cHoGdv08MjVu2DAiBOdj2FXfOnGBOvOfSj9KKYcOqCL30n5LMppvOtKzNKUw=="}]},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.8_1618488839629_0.8901405900312716"},"_hasShrinkwrap":false},"2.0.0-beta.9":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.9","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^1.1.0","pug":"^3.0.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-core":"^3.8.0"},"devDependencies":{"@dragon-fish/bump":"^0.0.14","koishi-core":"^3.8.0"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"5cbab13cb90c96750fb0886b5b65cc24eb74d4b3","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.9","_nodeVersion":"15.4.0","_npmVersion":"7.0.15","dist":{"integrity":"sha512-qW3YyRwYkULnJechIaC8FKHbagF3/vtYjoNHGFCavUd1sVcbMyV9sgKWqdnZVxojZ1DicTnYhoDi4OqqDUu1hA==","shasum":"f2016d7f15f59a77040a46c01c5e9579c508b2e5","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.9.tgz","fileCount":23,"unpackedSize":386999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeDI5CRA9TVsSAnZWagAA2/wP/iKp4J5IHsQlbZyZt2uF\nHtqzCqfctqHxhtXVnXQcrIcu9DkDSPJPbbEUCl8yJueCeXdlJmcxfLfhwpnY\nQAQvu+FuVZDk00lE1ZrzIqHiDpH6kAJaRTqqO33KTRRs7095inZrtRmtieY3\nP4aDxDxlQV7IhJp2dAYR6qchKGt2DqkIYazA9Mx1ypsPFs0kfYPGVGcQN5qZ\nQOK9GhfzvA/uG7YkzRzdo/s+1Xy/mzrO/efkzxciI87ADB7ttqxs53SW+kPk\nn7VxvJnaHKCYAJOSB3UrmDiKY7BIe+sJMnXKINmexSWt42u0f3Afut3NLo39\njlovQrojpD5UI+Pk9NQ9CuYxo0AhmA8FjSbOXeQMUaUkgw+B4R8aHtllOffF\n7Zur2xiBrw+4H8BELh+095dJ1A6gpylkuDhJDj7rxFxwMNQTFbWQYqzLgLVD\nGgIctFEYRLvmRsCURpN+zeS+kYcZP0ufUf5bd/TU80X/huuJxVR4/qQbmYvw\nHm8mnYVgfzEMwgdt7mJr+xL2STxOSzHVLZz6KAtOvAksUYgWdgrQwCqVsHgV\nvkAcXykutlLF1hAwEgFbP5JDvFyaR0y5KxLSPB4M+dyS9IOj5lawWHX04A+x\nw3GK7jmEc/DDIJxXtYnSLrKaWhjf8OLuApUL/xYfkN7OSEMKnTZjYhqgbhl0\nwROD\r\n=y4PH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDhhW+N04QROmIyxrEYMjr7NTcwQJqIU9YP2HO4MPVJuAiEAuBFXdsW2ovuKYtVewPJmAXSgXDSefVWl4ByA2KPrcOs="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.9_1618489912713_0.8319934893027428"},"_hasShrinkwrap":false},"2.0.0-beta.10":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.10","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^1.1.0","pug":"^3.0.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-core":"^3.8.0"},"devDependencies":{"@dragon-fish/bump":"^0.0.14","koishi-core":"^3.8.0"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"cc48f194af9d1f3e0b74e40fd39bdb81eb13b359","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.10","_nodeVersion":"15.4.0","_npmVersion":"7.0.15","dist":{"integrity":"sha512-WwwE4Gc6yOXSX2vPHUS7MhxgNqZAUUcF87e24FaKKdb+Z+Oph8/dxrG3savRQoupRyy12zsjPsOB9yU2iQhDpg==","shasum":"7eb6094304b1f852cd3133ea645cc03a98ef01f8","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.10.tgz","fileCount":28,"unpackedSize":361440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeGyrCRA9TVsSAnZWagAAMC8P/0pNIbGmzJ58b+LJOAYU\niKPVDxNeowELnp1VV4RpDdE+zFMBKqqef3YJeg2+g9Ga2qLyr13IVLK+6GrU\nl3Fv0zb65XmIxNWuhyhtwOmyHmU5T/xXucIRRaNDMS+fxMD1Btara8jdIk9J\n40gk1JwUjPefe+qM4Ud0JPllqARC/kfEWFvDwIzunoCMe3oZxwdeeYS00ovM\n1H3TTSrE1IM2ZMzbE9rO6dfMC0zXbhobmJN+Ay90jIHqDA0QnS5PBV+kT+ys\npJZ9A7BQixnuPj5j180QWJgoWJO4rA1+1M+a+CRaYqZJQZPXSCanpj1IzcoS\nnLnOgZbF07wyEAbEWkE9cjwxQCr3gnxSaWQhVdL5cq798Agmz1dVNiaMTOoE\n2+DQTYN+93tCvtIWlCD8yPv+nXt2CI7HzFnE2yi/mIiKI+4eg6dg8fY+3zbB\nVGeFJBuI07iQpJxwBMKF+PIwZ9ygut/PKqm8vqo8LGlj7/aO2301eunJ8jX+\nrb+05oI3lNDb78n3ZGAaL2tymj6sRZJ0kjiNBbfbA1Pb/h8Sw784ZOvmTt+H\nWfhMC+GwWwodvO4BWQvxYrtedI4tx6GgPTihjG1sE+wPFIooIw/1jd2Beflq\nHzrO95hn4txGkYd6uhuSdoeX+afqTH7t2yUgAQxr+3nWFIqLw23I/Pzh5Lcx\ntXKP\r\n=6GCM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfFgLcOuKBEx83b4wxXFyo70yYYdMNmso5qw4PqtyyEAIhAIbcKpAnuM+l2kSZ2CDtWiQt9mLLz5VweMg+kSXNfrFs"}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.10_1618504875501_0.07860292209402298"},"_hasShrinkwrap":false},"2.0.0-beta.11":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.11","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next","bump":"bump"},"dependencies":{"genshin-kit":"^1.1.0","pug":"^3.0.2","puppeteer":"^8.0.0"},"peerDependencies":{"koishi-core":"^3.8.0"},"devDependencies":{"@dragon-fish/bump":"^0.0.14","koishi-core":"^3.8.0"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？想和沙雕群友一起凹数据？懒得下载米游社？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要最新版 koishi v3，并配置数据库。\r\n\r\n另外还需要安装 Chromium 用于生成图片。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说一个 cookie 可以使用一段时间，如果失效了就再次获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n      cookie: '<您的小饼干>',\r\n    },\r\n    // ...\r\n  },\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n  cookie: '<您的小饼干>',\r\n})\r\n```\r\n\r\n关于自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query:** &copy;miHoYo\r\n\r\n> Copyright 2021 Koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"0aef61eea3ecf705a582a92056b9f49011987dcf","description":"**原神四季**（_Genshin Impact for Koishi_ → ~~征名启事~~）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询原神国服玩家数据的插件。","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.11","_nodeVersion":"15.4.0","_npmVersion":"7.0.15","dist":{"integrity":"sha512-lmbc3W/pNKrmBw1/LKvkyzzkKEbI3vmACIlQplT83jpPL0/agyDQ5+5/2rtDeUcxTOnPJhM9swHL3z+OZ84HZg==","shasum":"28f0a34696e972da16d3462f809e1fbe0e88f110","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.11.tgz","fileCount":28,"unpackedSize":361440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeG14CRA9TVsSAnZWagAAiSIQAIfskPUPogYg9elvK7lT\njzj/qgODtuavcqvYU6GI/Lw7sKaYmYy0zCa71UZJbJ5/MJ9oot1RTh4SREC9\nrVn2Eo7H7k9Y2buS710oe6EioMB8jM3jg6rvAaREVD9f+omFNBlx8JqEc8oT\n3YaVqzu6nqxJ0GMdcYoQ67ZtMdfV8AhuJYmrqdPw4nwOhZr6nxSVad6BQOMU\nDfj0T4Yy+jiycmIx96GlNQ6BTiP5szQ3NpJaeJYRO4M58DiMdQasqlAepz1M\npnZ4vB29mMrGrxdohIky9bqkFVc9nwPah40vLP44yQDprjTiRCaeKrst7kfi\n7PoYVQbv505tpYBcNNZmDMZxPZ3/gO/z6CRTEhAI+SVt9+7U6OjodhqTMK7Z\nMymPj2kdf0OLO/o6pf49DuiFOzl773Ocjc30JNwVT/K512bIF6ETSTyOlkYY\nHQLo4M9CHCPsxXa+OaeTWrJdkNkMLsFFnkZVtz6ahjjxM+vTt5XSAlHDxmzC\nmV4OJ2UEXxqu84Px5LCVDPYx6WTxnLqq9/hMdSeN/rOaJgVcr7e6mmvU4mCA\nqNSDAKguA7ig/BC1sBc28QEI5LJzfPL52xp7NXlU7Tcl0TEFR1W+Vka5aJ89\nY8C9f4dXYmtc7S3JAeGByaU/HCzE230/VwkhRJKX1U3dyiuVe837BrwK3mb9\nsHc6\r\n=gaOK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQKSa7iSBA8oXdnElV7MgJfnw8o/iQT+U+CmvHG9zMHAIhAO0o4SO0om8fX32RthYrGV5WK+l7t1DEzfwVWhsYAdMx"}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.11_1618505080321_0.49789457248017444"},"_hasShrinkwrap":false},"2.0.0-beta.12":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.12","description":"Genshin Impact player data fetcher and gacha simulator for Koishi.js","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"genshin-gacha-kit":"^1.1.0","genshin-kit":"^2.1.0","pug":"^3.0.2","puppeteer-core":"^9.0.0"},"peerDependencies":{"koishi-core":"^3.8.0"},"devDependencies":{"@dragon-fish/bump":"^0.0.15","koishi-core":"^3.8.0"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"gitHead":"cf4a34e6c25e8e0d0bde3a444abebb7881f27669","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.12","_nodeVersion":"15.4.0","_npmVersion":"7.0.15","dist":{"integrity":"sha512-UTlWobqpISHLBa9DSkDu357N/WJLd2g+5ka4f45I4dEyXPvczGB3RxwnO7mEcFVB0WKlscoMK08AoZqFPHyFCA==","shasum":"c8e4fd1ae4eff87518e188c8d5ff98c55bf0a593","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.12.tgz","fileCount":30,"unpackedSize":371893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyhWvCRA9TVsSAnZWagAAUlQP/03iO/R2jPbqHzvKRsKN\ngsz9BXg3G6rnmV5QAOBu0j4irBufMbtMjd/+oYmWrdTjNDJpS8c3I6HE3Hgq\nbbn1KhBAzbxOy6gb79Mqqu22KnwDx/tLeRFC+1B9tQgvdHMSB/znSydIdSMr\nLC7h9anGgtAdPOrxEaFS7T/gnNhTruxSnNnQtvYJCksGVkToP0tLf340rFps\nPoSkyPBFAzhG5qNfjaDltZeqD2Rggee9eaIyDDRsM9gZcTkJE7NiCLgvD5vz\neRdClyY7LqdE53D6ppaPa/mlRdHPH11SDH1QMKym3OTJdLm2nk9gn3NbM6Qi\nnScivmJaHaWHA4ft+sE+Z2oczBzuLK6Ra6pJXfG8hwa9wlsnHw22xq/+zvdG\n8oFAZeK+aoptHYxvgo1yraReegLt54fHCBHvEBoj99WsBnsyn8XIJjUaGxFv\nG+w62YRxs1p3Rw8zdaCMFR2eFABxKCfEMg/aN0iAKKjeIJQxz6te/iVRY2SG\n8rQ4d9AZ/+209O6Nzc0D7xwmqou3scoWHqYRrCSp+FWl4dSNhAP/cttkfwgo\n8Y/FjThafUdupZtxSJ4NvD0bapnx5ht4Tf5XSf9C9DKV+y2KMX09ZQ0Kckh8\n2jFA4ujWQYOCbyg33mds3jYx8sTCs7xsWyj3wk1aVssgPqUuUKQEJWgR+89B\nn7ly\r\n=aOqs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLqxyVHZw2R5uRgVU4fgwqStgrv09LH6oEvh2OhsUwpAIgcC7Ftk/zGUFgJJKyMEt/YXPoK8N/uY2EacW7F2eu4uk="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.12_1623856559490_0.9763579454051914"},"_hasShrinkwrap":false},"2.0.0-beta.13":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.13","description":"Genshin Impact player data fetcher and gacha simulator for Koishi.js","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"genshin-gacha-kit":"^1.1.0","genshin-kit":"^2.2.0","pug":"^3.0.2","puppeteer-core":"^9.0.0"},"peerDependencies":{"koishi-core":"^3.11.1"},"devDependencies":{"@dragon-fish/bump":"^0.0.15","koishi-core":"^3.11.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"gitHead":"50d21e484f447467ce6cf305f2699a91788e4675","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.13","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"dist":{"integrity":"sha512-bdhE99VHMS/75MEv1JyDoZkaw6rR+ATc96N/lLQL/klt+vAe2+UCc8Tg6w2+iguI0UamxJXjCsjDmx/FxwJyqQ==","shasum":"463c116c27a2814cdf4a0ae1d12d7b8a03f27211","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.13.tgz","fileCount":31,"unpackedSize":121627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhChHqCRA9TVsSAnZWagAA88oP/RRopY3siNDmEopyffIq\n/8gHsa3EUOMLdM15UQ49tWdsPAodppHVfFgY5vLNCb8i0rZHpGvRlxQ13DPz\nNiimzXApo92Kl6Z/j77ipTHpcnweU4Rxv60nP9HpH9nXqym1rVJmWAwByo+/\nx2r5xye/AKGQqGiRzpaYxMnBeM7cY5lkmom9L7cKEd0IfxoZLMEU01j4WxyF\n9hQ9K3kqqh+FLEQpv+1kk2FdTcNiQPcgUVKwY7Ev4WJYdEa8Azz1jbakWPcZ\nPKE1ggZIklX5d1lQ0BmYMXnl7qGYsl1858JRrXrbv9p8EdbgTBVLj0FK9rxW\nOx1F08f74kqZ6Q9GLr73oP/XRHWLhqeBOtkp3GQSVx821S3L9uk08QMhs4Fr\n5YMyd96+lmRehUHCETVifbO5JaVuRjAaAOsbNyTR6yNdXyM+pd9WaOZqFrJ0\ni0P0eejMUqhKLV8eh7N7hEeFWjCVgM8QjoDGUYbHQkb2ae3sw50tGZghtGyD\n5FWRjzG5dQQdRl0xwjchjQoWpV5baYNJH1YlD+pgEx5uYzlFrQXhLDwJKl+7\nWVkIbHWkBNBaHX1rvu6qlaa3+pDNKDuh/z2NIzmZVbRSYGumJfz8zCbjqy/p\nMM3ojTEBkdav1rbQgPzaszGLXLKywDk2O7wUFS+YzI5BSZvDvueXkhnpWHLk\nKfDT\r\n=uiGg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIClg3B6pdHORSKw7nTyT01Y8u6zdSy4Iq+pvykB9vi42AiEAyFsxGokaSkLUeBLjo+FNyU3rX6oy+8XaE+l7eaujmac="}]},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.13_1628049898492_0.2984457065845767"},"_hasShrinkwrap":false},"2.0.0-beta.14":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.14","description":"Genshin Impact player data fetcher and gacha simulator for Koishi.js","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"genshin-gacha-kit":"^1.1.0","genshin-kit":"^2.4.0","pug":"^3.0.2"},"peerDependencies":{"koishi-core":"^3.11.1"},"devDependencies":{"@dragon-fish/bump":"^0.0.15","koishi-core":"^3.11.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"gitHead":"1e025d1efbf0e080ff223045a66b2e4470591d8b","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.14","_nodeVersion":"15.4.0","_npmVersion":"7.0.15","dist":{"integrity":"sha512-YUBT7Lsm9+lNNiDg2NKHDZRWfwplcCoT5ka7i1S9fWCpwurSWAwJATjZn6kekp8E59AzsGD7ELdVGVdhQ9JiEA==","shasum":"dd6985ec5824593c4b78df236e343851da61c787","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.14.tgz","fileCount":31,"unpackedSize":121632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNnqiCRA9TVsSAnZWagAAWpoQAJYlkn+geb0ClugAVrCo\nKdvJC9G4hgpGLFunirx25TYIsYY4kCdwTjhvLKkc9o4TXZ8stDR/s3oEesIN\nVW+Wn8//g8S3cxYAJv/53RkvxiSaOrUH5d19YC3rDo1xFFm9dcy4xNCtDcha\nkmL+sp/W0IcnTGBoR/ZQlqUfTIb3tBUEfmdU1HWMzF9ivZ0eOe5Z4wMmZE8Z\n+2qe4Yj8b+UOBnflx2VFpYuB48wLPMKMRuUefAVcTmtAeVr2oDlrftd/sRIK\njmnzltt/fDh15M1bI3trxQQzk/sLEQ+2v3M8Ae4uyh7xNsyo0p3wtCVXXlsw\nxExLgFGXjkgixEvwR7vXqwm8kNBP2131csFxqxoLPOa7ZtQYrOIKnajXmynS\n/+NgVkFzhXCCq2W9unlZsebvaaUovfwRJOBLpvtjqsxtxLHawDiL1HFMI19c\nMJlWg1dlGe/GayLcGKvjbl+eA2ZFdrOEKQDkkUgsKTImV7aKSiwYjaSGqpSB\nT8+twN1ij1oKR2vY5T5q6UphRUZjuRcSR6cv27fC066lCrtxZCtJ4BvvKeoW\ngdml+Ie1EMJnRE+MOD25B7vatfBsft/QDrqGa6ZOxO+JZgnfQMPsMORAPKL5\ntmH+ZoGtD1o9JQb9ZXtBMvbpvxgD5vJ9EymgyNY5rWOez1qopSSCrlO0qjJQ\nGJD4\r\n=kEfJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/RKdYjGpQcL10R0crILgBh2/1ZDuKOA9hCTBsvg9ysAIgIhVvgflQ/wx3ALGqRpjOsVmqpXNyR6v1QARWEhfsyN8="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.14_1630960289873_0.9943494178751198"},"_hasShrinkwrap":false},"2.0.0-beta.15":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.15","description":"Genshin Impact player data fetcher and gacha simulator for Koishi.js","main":"src/index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"genshin-gacha-kit":"^1.1.0","genshin-kit":"^2.4.0","pug":"^3.0.2"},"peerDependencies":{"koishi-core":"^3.11.1"},"devDependencies":{"@dragon-fish/bump":"^0.0.15","koishi-core":"^3.11.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"gitHead":"69a206157b78426d0013acf316033d1c9a2c052f","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.15","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-eSa1tDJSk0soImi2vo/AOzNCyjQ021S0q1V+dNxmiKfd106ZQw0FvFtVyq+DEz5hei2Dr1xxGuiLebCY6T2cVQ==","shasum":"dbacfe4fc3fbc1064eb3f4ae01b0ff8c2579d4dd","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.15.tgz","fileCount":58,"unpackedSize":5261960,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOcDhCRA9TVsSAnZWagAAJQQP/RYzd3q18MPIvqKv6W4h\nUuUCsKJaFeeybC4Dck56eXoLt+AL9+63orNRJQF8m6JARcUKdv0xzhEI9YOy\njwiU2azpTd1T1HIKsgKwmNJIhk5WurcFWJSbXsgIhV0faoCWDx8Gsxcdo++I\nB4GgwYLdzSAr39nafnEQ4QfL1UF7g8oh07RJlDoN3JcqpEgJZkLNzzr862/5\nWbBHgWeanlWwWgjSps9F7nWpTab9amLW1LKNDwrTvDJMkUfJ0S/abJd6vGX3\ng6sS2O5/J0sQ56ncPu9T0BK/3ufpws3o/wXZZrp4p/P2V3L91HwOvxB0m+J7\nSViNKhbuN+j03xyDtbYuKTassM190z0bwwhUQRCBdjO2T7nu6N9/zrSU1rNY\nJDaIfwGXzIxywCOndgpeb+EpFh64olp7R0IDaNvxkTfRM7cSZxIe6kF2g0/6\n88f89zZIGdRR+nAINgEU5pTuRIxBQ/jY/Rdk7aOtwoeo9Gn7o+D6VCyEugfG\n79mzSZedqbwFljNrLTiC7XWBfAs4n7XIdLSJfJp78jZXSq2Gw5Tvzi4/06lr\nhlYcEWKTo7NRqi2DP51JvDP3uj5d9E9WNA7C1K2yLDIUH6BWk5otigmzHcgN\nda88zumf6dlWL22d4ZpSEOAEtbx3V9NRuD0qkKCs+BcqHAlb/apAEdYHhjBN\nnuJw\r\n=En+x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFi7uokzD5MxQ8hhSVdMAzQJX6yJSamHTU3w+yFuKdMhAiEAmZCYYQDtdAR+d/25ABg1586XExTeyz7f6PfeahF91iA="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.15_1631174880968_0.3916055203634399"},"_hasShrinkwrap":false},"2.0.0-beta.16":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.16","description":"Genshin Impact player data fetcher and gacha simulator for Koishi.js","main":"src/index.js","repository":{"type":"git","url":"https://github.com/Dragon-Fish/koishi-plugin-genshin"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"genshin-gacha-kit":"^1.1.0","genshin-kit":"^2.4.0","pug":"^3.0.2"},"peerDependencies":{"koishi-core":"^3.11.1"},"devDependencies":{"@dragon-fish/bump":"^0.0.15","koishi-core":"^3.11.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readmeFilename":"README.md","readme":"# koishi-plugin-genshin\n\n**Koishi 原神大礼包**（_Genshin Impact for Koishi.js_）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询展示原神国服玩家数据以及抽卡模拟的插件。\n\n## 特色功能\n\n喜欢玩《原神》？懒得下载米游社？想和沙雕群友一起凹数据？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\n\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\n\n想看看自己是不是非酋？想要成为下一个天选之人？向 koishi bot 发送指令，进行模拟抽卡吧！\n\n## 安装方法\n\n```bash\n# Via yarn\nyarn add koishi-plugin-genshin\n# Or via npm\nnpm install koishi-plugin-genshin\n```\n\n## 使用指南\n\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\n\n## 系统需求\n\n需要最新版 koishi v3，并配置数据库。\n\n另外还需要安装 `koishi-plugin-puppeteer` 用于生成图片。\n\n## 配置项目\n\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\n\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说只要没有进行修改密码、换绑手机或点击退出按钮等操作，当前 cookie 便能长久使用，如果失效了就重新登录获取一遍。\n\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\n\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\n\n<details>\n<summary>配置示例</summary>\n\n```js\n// koishi.config.js\nmodule.exports = {\n  plugins: {\n    // ...\n    genshin: {\n      // 本插件的配置项\n      }\n    }\n    // ...\n  }\n}\n// 当然如果您是 index.js 玩家也可以这样\nApp.plugin(require('koishi-plugin-genshin'), {\n  // 本插件的配置项\n})\n```\n\n</details>\n\n自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\n\n**可用配置项**\n\n- `cookie` {string} 您的米游社小饼干\n- `wish` {object}\n  - `wish.enable` {boolean} 是否开启抽卡模拟器\n  - `wish.customPools` {[AppGachaPool[]](https://github.com/Dragon-Fish/genshin-gacha-kit)} 自定义卡池（格式详见`genshin-gacha-kit`）\n\n## 注意事项\n\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\n\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\n\n---\n\n_For communication and learning only._\n\n**All game data & pictures from query:** &copy;miHoYo\n\n> Copyright 2021 Koishijs/机智的小鱼君\n>\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\n> you may not use this file except in compliance with the License.<br>\n> You may obtain a copy of the License at\n>\n> http://www.apache.org/licenses/LICENSE-2.0\n","licenseText":"                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"koishi-plugin-genshin@2.0.0-beta.16","dist":{"shasum":"6412ba58d554ff0d6b9f6a2c41e59ab7699a88dc","integrity":"sha512-6+SS1FwBXoXqbxWzLGYceqiGq84tdcOM3A5DNNkQnoUpea1a7KSYtycfXfzmKfCRrza4OmfGOOlZgFcFX0NKpA==","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.16.tgz","fileCount":69,"unpackedSize":5601720,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPGGdCRA9TVsSAnZWagAAK4gP/0suofdCVWvXSTlIRK0N\n+KmitlYaBlSwxeNdhK884ynRH7mOdBlJqnoWHLnE2YJQHPuUOWcGR6EEFIsr\nYhxuP2HDS+hGt8sNegZz1s8rx3cX0/xkbxSi7INqwZHUcuFWhT6ojvbh0l3g\nfuytiwcYD3FKptIvb2Pj+lvNyL5qj/Bsno6HzOQmDcSvDOOGtTMyHzj+A+NO\n7/qrxBAbiTLFSscnFVvY++nJ4vYMY6xgpFlWebZQ1fDJBe3KICIRzYa0pKq7\nbivh1xOHZI/M+WxbBROQAIe8dRE8z3L302GsNhBTcyxz+5u6GPt3jYYuXBrc\n3NjnQn6EWdJ2jUSUmqqjbPqBOJAlz3bt7SaaMDdo5H7PUPaP9uc60pJGM5gI\nwA8+xurMGPiXauthJfnzH2z6q89xieRMb5RKuCXyz/mAkskeg55nAp+60Alt\nbGm63qlSby3G9+EmewZSiwzxYgq3YnpU0UA2G7HxSknLsKmMC9lLcE/ta/fq\nDqG7/VChxJabcKkgvHRdvP14e4JjFR1Xm//vFj4LLMBdhL/3eHu9TGnAT6Kh\nBALiTtO0G76Ecpr3IfWefilX999SLCEacklw1P0ps3WTxwGZd3c/oebCnH4Y\nckH0XuowsXG/67YQoUL4T6NWS39qb+u3pHP0MO8HkrnLjURvPNZwUls3SBRZ\nzNdE\r\n=FAOR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCb3/HA1C/TWZZSZp3jDaD3yyoRiZUKkZFUw2G4geAR8AIhALIo4KSSDbjof2e7jZXm1Ggc5ScKc56tPVXkBaTfyvPe"}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.16_1631347101073_0.030475110640603154"},"_hasShrinkwrap":false},"2.0.0-beta.17":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.17","description":"Genshin Impact player data fetcher and gacha simulator for Koishi.js","main":"src/index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"@genshin-kit/core":"^2.5.0","genshin-gacha-kit":"^1.1.0","pug":"^3.0.2"},"peerDependencies":{"koishi-core":"^3.13.1"},"devDependencies":{"@dragon-fish/bump":"^0.0.15","koishi-core":"^3.13.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**Koishi 原神大礼包**（_Genshin Impact for Koishi.js_）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询展示原神国服玩家数据以及抽卡模拟的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？懒得下载米游社？想和沙雕群友一起凹数据？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n想看看自己是不是非酋？想要成为下一个天选之人？向 koishi bot 发送指令，进行模拟抽卡吧！\r\n\r\n**截图展示**\r\n\r\n<details>\r\n<summary>玩家资料卡 (genshin.profile)</summary>\r\n\r\n![genshin-profile.jpg](https://i.loli.net/2021/09/10/9Q1MzJfqmUhj46y.jpg)\r\n\r\n</details>\r\n\r\n<details>\r\n<summary>角色展示卡 (genshin.character)</summary>\r\n\r\n![genshin-character.jpg](https://i.loli.net/2021/09/10/oq1AYMeQNjlX8Zf.jpg)\r\n\r\n</details>\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要配合最新版 koishi v3。需要配置数据库，暂时只保证兼容 MongoDB。\r\n\r\n若要使用完整的“卡片”功能，需要配置并安装 [koishi-plugin-puppeteer](https://npmjs.com/package/koishi-plugin-puppeteer)。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说只要没有进行修改密码、换绑手机或点击退出按钮等操作，当前 cookie 便能长久使用，如果失效了就重新登录获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n<details>\r\n<summary>配置示例</summary>\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n    }\r\n    // ...\r\n  }\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n})\r\n```\r\n\r\n</details>\r\n\r\n自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n**可用配置项**\r\n\r\n- `cookie` {string} 您的米游社小饼干\r\n- `wish` {object}\r\n  - `wish.enable` {boolean} 是否开启抽卡模拟器\r\n  - `wish.customPools` {[AppGachaPool[]](https://github.com/genshin-kit/genshin-gacha-kit)} 自定义卡池（格式详见`genshin-gacha-kit`）\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query, Genshin Impact font:** &copy;miHoYo\r\n\r\n> Copyright 2021 koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"821f00a714fe58327a4305153b45af89ded9fa8b","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.17","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-41VITzG90lrBDglUVCphLrELsqRBEE2ziL1FS3g0TtU7qbwgjXg3UoxJLJQQN7PRCXLUGcPMfzn7QSUcKr63kg==","shasum":"ca9f55d29ebafda9bc9e946eb87ac8b2d614dc9d","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.17.tgz","fileCount":62,"unpackedSize":5910145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsJX3CRA9TVsSAnZWagAA1ooP/00ey091LivZ2srXTLqC\n+qKPXS0VZeCZLmNGIkS5AeiC/b9PkmEYDJmzvzaEp17SIwVT9mjmj8eaXZj/\n+ob3jPm5Hsvb7+gjshRDFtkpc82XtmoH7r2guIglXHfGv26vOnH7x3qZ+mau\n660sri3a/IKpp4oyWzroskV3Xs5yIRF4K6AWVZOjXA7uc8aGtqN36v4N29tD\nYoC6Z1j5YJBHkaQn71+xel6lUZ+ymx+qBJF45Gr33ElRolSKeUyKv4CyzNjt\n59F4mSMYPv78+ik+t9kDYKqjGqEENdyqZR66Ni11rGPSK+21+hHzIlJ1a1XB\nc1XaO0kgADi2LYIhqfFGJy7uTVulVPlWIS+x8PI9bnLRv2QF0phvPYh8zle+\nGz5o/M8TVFqBD7fvThR/SNPDkHfYGMRME9NTA24lZcYXghFeOUCBGTGWtEYt\nacl6j9LUvMcdXQkHB+eyhOkDwTlV7P9e/CWYAT8PbMKH6lA5mz7DXnTc6q7h\nEQBUsdjEw0cwMOQA0YpV/6QJhBJHutQKUeTTQHPqymtdQTwZ/Xc+eH6S/7uX\nigJ+7hmFOfqPF7jWFyv9U0XpUdCV05gOIOFMvt7938H/HyspLL2gQ8jFcgGG\nBrobnj2yb+fx/fGKEXlIGAGZUkLmFgW2GrM165ZbNs8XYMQtB8pJ7OVxbYxw\n+B0h\r\n=pZ6n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+8UEhwKlPpTVmWSSJQK2Ztg3UO8PfirqnvRbQnF3OhwIgTCbkp0OQ5761UyaKrXI3Dfn6K0fM3q3KUrHJf3jOQkE="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.17_1638962678826_0.9335169603863678"},"_hasShrinkwrap":false},"2.0.0-beta.18":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.18","description":"Genshin Impact player data fetcher and gacha simulator for Koishi.js","main":"src/index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"@genshin-kit/core":"^2.5.0","genshin-gacha-kit":"^1.1.0","pug":"^3.0.2"},"peerDependencies":{"koishi-core":"^3.13.1"},"devDependencies":{"@dragon-fish/bump":"^0.0.15","koishi-core":"^3.13.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**Koishi 原神大礼包**（_Genshin Impact for Koishi.js_）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询展示原神国服玩家数据以及抽卡模拟的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？懒得下载米游社？想和沙雕群友一起凹数据？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n想看看自己是不是非酋？想要成为下一个天选之人？向 koishi bot 发送指令，进行模拟抽卡吧！\r\n\r\n**截图展示**\r\n\r\n<details>\r\n<summary>玩家资料卡 (genshin.profile)</summary>\r\n\r\n![genshin-profile.jpg](https://i.loli.net/2021/09/10/9Q1MzJfqmUhj46y.jpg)\r\n\r\n</details>\r\n\r\n<details>\r\n<summary>角色展示卡 (genshin.character)</summary>\r\n\r\n![genshin-character.jpg](https://i.loli.net/2021/09/10/oq1AYMeQNjlX8Zf.jpg)\r\n\r\n</details>\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要配合最新版 koishi v3。需要配置数据库，暂时只保证兼容 MongoDB。\r\n\r\n若要使用完整的“卡片”功能，需要配置并安装 [koishi-plugin-puppeteer](https://npmjs.com/package/koishi-plugin-puppeteer)。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说只要没有进行修改密码、换绑手机或点击退出按钮等操作，当前 cookie 便能长久使用，如果失效了就重新登录获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n<details>\r\n<summary>配置示例</summary>\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n    }\r\n    // ...\r\n  }\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n})\r\n```\r\n\r\n</details>\r\n\r\n自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n**可用配置项**\r\n\r\n- `cookie` {string} 您的米游社小饼干\r\n- `wish` {object}\r\n  - `wish.enable` {boolean} 是否开启抽卡模拟器\r\n  - `wish.customPools` {[AppGachaPool[]](https://github.com/genshin-kit/genshin-gacha-kit)} 自定义卡池（格式详见`genshin-gacha-kit`）\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query, Genshin Impact font:** &copy;miHoYo\r\n\r\n> Copyright 2021 koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"96dd3f7aa3569f5692fe4a35503f7d3c0439b046","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.18","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-9IULyeUE5LK0G3//Dg8RFvLB4QO/BheYOu0pxQNQ0kyOQv8TDdgCWm0PI/tYbiHkF46HnPQer1t02gcHQD/+8Q==","shasum":"ff8fd05466b3df48399ebc44561bd6669411d4ce","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.18.tgz","fileCount":62,"unpackedSize":5910151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsJcaCRA9TVsSAnZWagAAEK8P/29YKIOaBIy+mUiDxr6M\nCA7/Vh++2WflAwgYZ8SDG7IkBtjbWh5E784U9tMB7d3zevC5HjFfWHr8Cd7Z\n15ZtJuGnHfqG3ipjmFPcM8EMrVByY5nGDz8MSOTaFiLUR++qM04cxVnrfbi1\nnMpXNi+IrCzjL+WQa2hteh2SRzY2HClCQ+6Urhm83X5PYgfnt9uj5AM6hVu/\nCTvx6g2FT87GglVVkzk8Xbia6h+NqOEQpES2+ljLVGCG8TbCJEyix2VOYvuM\n7/yHoqiZ+FWZCqqR1Hf9gG7r+Yw3y+fFD/2aIml/5ti4fF3l1glu+8YwGh/W\nOmaCb8ETRt5rU8RjmmaW3mMVq6yRL7siKgYd5UVpGuZjHdLJPdbVy4ioO6S7\n0cjbVswJwhile2/xmieJsG8fxrN0qF7dBqN1iwew6Jt3cy+4BapUuGxP//FM\nQ2zyz0puyhCSp/wahXgRCFzHr41eDaUJm+ynVlzUZoCB8+U/J9oT2vAjNeng\njkAZEW2xISRKxoEt+mUresqCXX4uEQVhNFG9FmwBCi2M+I/GawyXegQN3Ci+\nCPeeNKPRecG8YbX5VtK6Oa+3N6hi+kJl1ACYFlkV85jT8LEUWz2f6NPgaKDO\nWvEVa61kZzvmnHbzM5F3xHmKUXvVRd+4g1tppNQ04zthuk30YJFPydJhyqXZ\nMilS\r\n=xgyv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnoGynKVNr5K5w3yMxPGJL2M0ZRmH/selXs0a23/qVCAIhAMIXP7e/lis2gPhfRUaeVImjglU/mvag8t0OdYyx2Waa"}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.18_1638962970195_0.0544392392525066"},"_hasShrinkwrap":false},"2.0.0-beta.19":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.19","description":"Genshin Impact player data fetcher and gacha simulator for Koishi.js","main":"src/index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"@genshin-kit/core":"^2.5.0","genshin-gacha-kit":"^1.1.0","pug":"^3.0.2"},"peerDependencies":{"koishi-core":"^3.13.1"},"devDependencies":{"@dragon-fish/bump":"^0.0.15","koishi-core":"^3.13.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**Koishi 原神大礼包**（_Genshin Impact for Koishi.js_）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询展示原神国服玩家数据以及抽卡模拟的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？懒得下载米游社？想和沙雕群友一起凹数据？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n想看看自己是不是非酋？想要成为下一个天选之人？向 koishi bot 发送指令，进行模拟抽卡吧！\r\n\r\n**截图展示**\r\n\r\n<details>\r\n<summary>玩家资料卡 (genshin.profile)</summary>\r\n\r\n![genshin-profile.jpg](https://i.loli.net/2021/09/10/9Q1MzJfqmUhj46y.jpg)\r\n\r\n</details>\r\n\r\n<details>\r\n<summary>角色展示卡 (genshin.character)</summary>\r\n\r\n![genshin-character.jpg](https://i.loli.net/2021/09/10/oq1AYMeQNjlX8Zf.jpg)\r\n\r\n</details>\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要配合最新版 koishi v3。需要配置数据库，暂时只保证兼容 MongoDB。\r\n\r\n若要使用完整的“卡片”功能，需要配置并安装 [koishi-plugin-puppeteer](https://npmjs.com/package/koishi-plugin-puppeteer)。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说只要没有进行修改密码、换绑手机或点击退出按钮等操作，当前 cookie 便能长久使用，如果失效了就重新登录获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n<details>\r\n<summary>配置示例</summary>\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n    }\r\n    // ...\r\n  }\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n})\r\n```\r\n\r\n</details>\r\n\r\n自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n**可用配置项**\r\n\r\n- `cookie` {string} 您的米游社小饼干\r\n- `wish` {object}\r\n  - `wish.enable` {boolean} 是否开启抽卡模拟器\r\n  - `wish.customPools` {[AppGachaPool[]](https://github.com/genshin-kit/genshin-gacha-kit)} 自定义卡池（格式详见`genshin-gacha-kit`）\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query, Genshin Impact font:** &copy;miHoYo\r\n\r\n> Copyright 2021 koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"1dbc0baee8539b6719694c108fcbf8bb4583022a","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.19","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-zNEm98xQvz6VMP1AfDXdZ0yCYHphNpwpNe7MtUXX62APEahDUj4QHEC86l0YyrHbVgE4uUfiK/LraU3Pt0lUlw==","shasum":"eccde4af61382121ec036ec9e7f59555e5dab274","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.19.tgz","fileCount":62,"unpackedSize":5910319,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsJntCRA9TVsSAnZWagAAi5cP/iNzChFGgHJ3/GbWALy+\nCMQ8Lytre++PATtGIG2FKL2Ew6twqOWWS5XV9tSSdHzZy3/KjtXUnQ8zopys\n6wbZ/2bHdyWJqpEo2tZy4IVMZgSO1gm1Sz36ye65vxFGa8Hu60+cnjEMH8hH\n9zcpEJC6Y8mz9gbh8itwNSJmHfEsLtb1XO05TVgTCPtuQ5glgCBtXTAXTF/3\n+uYHoTvC5FTRdVTLoHidtesWn4QUkIRmDwmuY+0+rQeafQL7LE6Sl7/enzv0\nLM98nqERfwx4wzlOw312MkdaEhnsu5iP5Rw6VV50qFnDBdSnB5MQARkzAKbu\n1Eea/+AwXUKDTcfb1o+o2gA3OUP5jZMX8bSECVJ7rqtk7TOrW4VaAZ+pEbfJ\nWbNFNhzOZGpWrZX4dh0yzxxNKuB6ezppCFfpsp96mtQTwnhhuvOzstNCiJsy\nq25mEcWPSruOYu+5TKsTUJa9yWZpO/hv5dq4gYI4FDXAOVnxTe+KQiSIyo4N\ny7wkZOuISrXz5PHauXeUPXahlmdg9wTJhuZZGBDoKDNUonNk5FhN0ZmVSk4O\nCYurgoa7sB5RVnEpP6FwopS1j9qMW4R5UOcLav9+KEotJ9Kzc9bBnLtl5lsy\nQbK9odUB1G7iNH1rwO4QgB069CxatPZGBQR6FylEmJvHHDzlcFft+qP60hiz\nCA4K\r\n=5WHq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIConRuU7xKbudi9YdctZsj9MMI9WeOq/1+Po200C7PzxAiEAoR+TrnZ/Iy0e3kBvl0LSMErKwNSgo7pihrW4ysoLeUw="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.19_1638963692904_0.2440522144291093"},"_hasShrinkwrap":false},"2.0.0-beta.20":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.20","description":"Genshin Impact player data fetcher and gacha simulator for Koishi.js","main":"src/index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"@genshin-kit/core":"^2.5.0","genshin-gacha-kit":"^1.1.0","pug":"^3.0.2"},"peerDependencies":{"koishi-core":"^3.13.1"},"devDependencies":{"@dragon-fish/bump":"^0.0.15","koishi-core":"^3.13.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**Koishi 原神大礼包**（_Genshin Impact for Koishi.js_）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询展示原神国服玩家数据以及抽卡模拟的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？懒得下载米游社？想和沙雕群友一起凹数据？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n想看看自己是不是非酋？想要成为下一个天选之人？向 koishi bot 发送指令，进行模拟抽卡吧！\r\n\r\n**截图展示**\r\n\r\n<details>\r\n<summary>玩家资料卡 (genshin.profile)</summary>\r\n\r\n![genshin-profile.jpg](https://i.loli.net/2021/09/10/9Q1MzJfqmUhj46y.jpg)\r\n\r\n</details>\r\n\r\n<details>\r\n<summary>角色展示卡 (genshin.character)</summary>\r\n\r\n![genshin-character.jpg](https://i.loli.net/2021/09/10/oq1AYMeQNjlX8Zf.jpg)\r\n\r\n</details>\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要配合最新版 koishi v3。需要配置数据库，暂时只保证兼容 MongoDB。\r\n\r\n若要使用完整的“卡片”功能，需要配置并安装 [koishi-plugin-puppeteer](https://npmjs.com/package/koishi-plugin-puppeteer)。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说只要没有进行修改密码、换绑手机或点击退出按钮等操作，当前 cookie 便能长久使用，如果失效了就重新登录获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n<details>\r\n<summary>配置示例</summary>\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n    }\r\n    // ...\r\n  }\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n})\r\n```\r\n\r\n</details>\r\n\r\n自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n**可用配置项**\r\n\r\n- `cookie` {string} 您的米游社小饼干\r\n- `wish` {object}\r\n  - `wish.enable` {boolean} 是否开启抽卡模拟器\r\n  - `wish.customPools` {[AppGachaPool[]](https://github.com/genshin-kit/genshin-gacha-kit)} 自定义卡池（格式详见`genshin-gacha-kit`）\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query, Genshin Impact font:** &copy;miHoYo\r\n\r\n> Copyright 2021 koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"54f42a8c9d580e5cf9c8d835320d1f1f8ed93430","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.20","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-ixK6Xy1UBU7D3jS3T3ER6M4QoLZuTSqfzOoYKjlDt82+ZPiDudvUsQ8NFW3uQYQjlfVr08DK53Y9Cpde5VHrMg==","shasum":"b507a5c03bc6a1def14aa9e6309b3d94dd3a5af9","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.20.tgz","fileCount":62,"unpackedSize":5910403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsJ1gCRA9TVsSAnZWagAAFVgP/jzSQXXKyR8Tjju7qOrt\nLKhDveVzZmm7WViFaAl9cP8wuExdvH0n19s5RKXCn2fImArAlzFtt6LjE5xz\nFkHbiVjWV+8WVz7tNaCuvVsIL9KO0HUUhTH+DKWNo4n7BWmPe79pyCZD412g\ndRyAF+NRi93LG/URBu1BhfxvRl+VzDnRnfyioxeYjTPRq/S+3QsO/SdToCSn\nKy1FHZ1+hJsQTLeSKpzQjc0V7uVAIjBjgXE25uYP5GkaLm5v6kesh9F4cIh6\n3EhJcNDf+H6w10h4mM3QVbfzcq6c+UlM8aWUwmo7WKLB89hcX3FFY1sYER8u\nysXDWTbrVVzgK6uoNoAx6inXOY5VZxic3MegNYGolwfWJRogQETw9goBNVmf\nGic/VLqVYDZF8lPEK7vktPFqlVTqFUJXbdOt4kca6ox7XkBXAOZQYmImzEhU\nBXJHknXwmkZbEMOPH66/VGKVCZTIQqGFuC7F2o83EsIN7fYYyinqSlFkVwB6\nC2r69ywgdbI2y24R6VLTTyZL/5Cay6//BozCcct7PxTZC5GTCoWFfI7XkaiS\n/1UkWxurbPkS/y8XWVrs6t6HvymkDzz+cJfNvJTzgLzQIr1hqAWgR7Q2gw15\nEmkn0O9M3r+gAdYqpW+2ifr3NB50u1be8+fwrdsYDPEsY9b1l1El5eahoqrN\nioJJ\r\n=5hOG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3fwZFD/37iMOkAc2wNaQCqANgdeZsBb8TFPdnwUYe/wIgf1fz7C2sSIT65tWkO1wMfmUq08902mpIQk+KjAOz7w0="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.20_1638964575843_0.017529078095606332"},"_hasShrinkwrap":false},"2.0.0-beta.21":{"name":"koishi-plugin-genshin","version":"2.0.0-beta.21","description":"Genshin Impact player data fetcher and gacha simulator for Koishi.js","main":"src/index.js","repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","scripts":{"publish:stable":"npm publish --tag latest","publish:next":"npm publish --tag next"},"dependencies":{"@genshin-kit/core":"^2.6.0","genshin-gacha-kit":"^1.1.0","pug":"^3.0.2"},"peerDependencies":{"koishi-core":"^3.13.1"},"devDependencies":{"@dragon-fish/bump":"^0.0.15","koishi-core":"^3.13.1"},"keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"readme":"# koishi-plugin-genshin\r\n\r\n**Koishi 原神大礼包**（_Genshin Impact for Koishi.js_）是一个为[koishi](https://github.com/koishijs/koishi)设计的查询展示原神国服玩家数据以及抽卡模拟的插件。\r\n\r\n## 特色功能\r\n\r\n喜欢玩《原神》？懒得下载米游社？想和沙雕群友一起凹数据？那么本插件将会是您的不二之选！来给您的群聊安排一只能查询原神数据的 koishi 机械姬吧~\r\n\r\n为您的机械姬安装本插件，玩家们无需打开米游社，向 koishi bot 发送指令，一键炫耀您的五星角色、五星武器和深渊数据！\r\n\r\n想看看自己是不是非酋？想要成为下一个天选之人？向 koishi bot 发送指令，进行模拟抽卡吧！\r\n\r\n**截图展示**\r\n\r\n<details>\r\n<summary>玩家资料卡 (genshin.profile)</summary>\r\n\r\n![genshin-profile.jpg](https://i.loli.net/2021/09/10/9Q1MzJfqmUhj46y.jpg)\r\n\r\n</details>\r\n\r\n<details>\r\n<summary>角色展示卡 (genshin.character)</summary>\r\n\r\n![genshin-character.jpg](https://i.loli.net/2021/09/10/oq1AYMeQNjlX8Zf.jpg)\r\n\r\n</details>\r\n\r\n## 安装方法\r\n\r\n```bash\r\n# Via yarn\r\nyarn add koishi-plugin-genshin\r\n# Or via npm\r\nnpm install koishi-plugin-genshin\r\n```\r\n\r\n## 使用指南\r\n\r\n具体用法请使用`help genshin`查看（~~作者只是懒得写文档~~）\r\n\r\n## 系统需求\r\n\r\n需要配合最新版 koishi v3。需要配置数据库，暂时只保证兼容 MongoDB。\r\n\r\n若要使用完整的“卡片”功能，需要配置并安装 [koishi-plugin-puppeteer](https://npmjs.com/package/koishi-plugin-puppeteer)。\r\n\r\n## 配置项目\r\n\r\n插件目前需要使用您的网页版米游社的 cookie 来获取玩家信息。\r\n\r\n> 使用网页版米游社登录 <https://bbs.mihoyo.com/ys/>，然后在控制台输入 `document.cookie`，返回的结果就是 cookie，一般来说只要没有进行修改密码、换绑手机或点击退出按钮等操作，当前 cookie 便能长久使用，如果失效了就重新登录获取一遍。\r\n\r\n> **⚠️ 注意 ⚠️**：请妥善保存您的 cookies。<br>绝对不要把你的 cookies 交给任何人！<br>绝对绝对不要把你的 cookies 交给任何人！！<br>绝对绝对绝对不要把你的 cookies 交给任何人！！！\r\n\r\n安装插件，详见 [官方指南](https://koishi.js.org/guide/context.html)。\r\n\r\n<details>\r\n<summary>配置示例</summary>\r\n\r\n```js\r\n// koishi.config.js\r\nmodule.exports = {\r\n  plugins: {\r\n    // ...\r\n    genshin: {\r\n      // 本插件的配置项\r\n    }\r\n    // ...\r\n  }\r\n}\r\n// 当然如果您是 index.js 玩家也可以这样\r\nApp.plugin(require('koishi-plugin-genshin'), {\r\n  // 本插件的配置项\r\n})\r\n```\r\n\r\n</details>\r\n\r\n自定义输出排版，可以使用 koishi 的 template 语法，由于字符串太多，[《请您读源码.jpg》](./i18n.js)。\r\n\r\n**可用配置项**\r\n\r\n- `cookie` {string} 您的米游社小饼干\r\n- `wish` {object}\r\n  - `wish.enable` {boolean} 是否开启抽卡模拟器\r\n  - `wish.customPools` {[AppGachaPool[]](https://github.com/genshin-kit/genshin-gacha-kit)} 自定义卡池（格式详见`genshin-gacha-kit`）\r\n\r\n## 注意事项\r\n\r\n一个米游社账号一天内只能查询 30 个玩家数据，目前还没有考虑负载均衡的设计，请自行处理频率控制！\r\n\r\n~~【广告】如果你喜欢本插件，欢迎给作者打钱或者捐赠米游社账号。~~\r\n\r\n---\r\n\r\n_For communication and learning only._\r\n\r\n**All game data & pictures from query, Genshin Impact font:** &copy;miHoYo\r\n\r\n> Copyright 2021 koishijs/机智的小鱼君\r\n>\r\n> Licensed under the Apache License, Version 2.0 (the \"License\");<br>\r\n> you may not use this file except in compliance with the License.<br>\r\n> You may obtain a copy of the License at\r\n>\r\n> http://www.apache.org/licenses/LICENSE-2.0\r\n","readmeFilename":"README.md","gitHead":"69bf8db34b6d8359358cc2ed6a628f03c19b95a4","bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"},"homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","_id":"koishi-plugin-genshin@2.0.0-beta.21","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-sOaMeNfqhn0PwC1r7G2EjHUrKkoLFS8fD9jslVcdHFsn4pYSPLmrFIlp+EM6OJQH1PHfiTqYooZ6/Qo2OMID5Q==","shasum":"2be1955fd74c107f888011cfc887840a73721a3f","tarball":"https://registry.npmjs.org/koishi-plugin-genshin/-/koishi-plugin-genshin-2.0.0-beta.21.tgz","fileCount":62,"unpackedSize":5910310,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsMTACRA9TVsSAnZWagAA9MgP/3Ero1qHidIS0PB2Xl5X\nQd0k/CLmNGVZgiZWBZ+YZLypxBMW3e15CeYDrTCp+HN+0rAKnNhsWpKuJOEv\nLk1v5uCa3olq7PM4HAPNn4LQO4CQNyWzu8w04aD6tbQVmKFU9hj2t9avBimF\nDuL6SNevEJTzFTK3d2nIODCYlWuHQUJ1vjxgj+FL1pcBOyM134mmbBiq5Dn2\n2a+6J/iLdTsZlT3SdNYOJ8mFWuSTjnRhBjI8bRANnebgyr59gGZnJibAbPaH\nMTxbRARJtYtAriQ3CpDE0yzHS0d0SKJfukZeoo+StOSKMfjc3G7ucjPUStEe\nDb3xsBSbOgCTJY0F9etJDWrnaiOtGJ5Dg8rNy1dfgfSRnpsUoS2gFuakxZLI\nQoBFKLIKUPv5q63yDX8+S+LVPaqJ/wavEpD7YbfEWsugta9Q0WGTm0WqiUnJ\nynFNhbax1fm1rhhLEp20nMPDqC+MtHxgLsB8inwTHkj/UDyrMEtOWvScjVeG\nrcsawwr0w/X/p/o7lkCAo0MkKArXR0zVa4pTXpSmkWhdiGWnBabKQxPKkfc6\ncEZMMWQ11fGtk88PUC/736arsy5Jd4d7kHIxUxuNqgYOmPtqpSqQJq0UCB8r\n8lPVONxXLKZwUM32XqnH19jqT/ixkW1rqyrQzYyUQ78o+GB/HQyjLOtBfIVA\nuVj1\r\n=cJoG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEZ3Z8SdQ+8Fw41AT43n+XLIOpWMSGv67rlzOtbRfgZgIgGpuh+mwfJX1/embBkHaBjQM83PTpIuvev40HJxEWG2U="}]},"_npmUser":{"name":"dragon-fish","email":"824399619@qq.com"},"directories":{},"maintainers":[{"name":"dragon-fish","email":"824399619@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koishi-plugin-genshin_2.0.0-beta.21_1638974656575_0.7511175332887607"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-26T13:11:11.041Z","1.0.0":"2021-02-26T13:11:16.451Z","modified":"2022-08-08T04:42:22.730Z","1.0.1":"2021-02-26T13:17:51.110Z","1.0.2":"2021-02-26T13:30:45.804Z","1.0.3":"2021-02-26T14:19:13.765Z","1.0.4":"2021-02-26T14:21:17.154Z","1.0.5":"2021-02-26T14:38:50.322Z","1.0.6":"2021-02-26T14:46:56.356Z","1.1.0":"2021-03-01T04:01:17.802Z","1.1.1":"2021-03-06T13:00:41.445Z","1.2.0":"2021-03-06T13:08:49.646Z","1.2.1":"2021-03-06T13:15:59.746Z","2.0.0-alpha.0":"2021-03-07T15:56:55.959Z","2.0.0-alpha.1":"2021-03-07T15:58:47.926Z","2.0.0-alpha.2":"2021-03-07T16:04:28.909Z","2.0.0-alpha.3":"2021-03-07T16:12:55.480Z","2.0.0-alpha.4":"2021-03-11T09:18:14.032Z","2.0.0-alpha.5":"2021-03-11T09:47:21.143Z","2.0.0-alpha.6":"2021-03-11T10:16:46.292Z","2.0.0-alpha.7":"2021-03-11T10:22:35.263Z","2.0.0-alpha.8":"2021-03-15T16:52:41.382Z","2.0.0-alpha.9":"2021-03-15T17:03:20.181Z","2.0.0-alpha.10":"2021-03-15T17:07:09.507Z","2.0.0-alpha.11":"2021-03-20T07:58:22.848Z","2.0.0-alpha.12":"2021-03-21T15:17:24.144Z","2.0.0-alpha.13":"2021-03-28T07:56:20.547Z","2.0.0-alpha.14":"2021-03-28T08:13:49.862Z","2.0.0-alpha.15":"2021-03-28T08:16:56.107Z","2.0.0-alpha.16":"2021-03-28T08:24:41.494Z","2.0.0-alpha.17":"2021-04-07T14:05:41.549Z","2.0.0-alpha.18":"2021-04-07T14:43:44.754Z","2.0.0-alpha.19":"2021-04-07T14:57:39.745Z","2.0.0-beta.0":"2021-04-09T20:27:54.594Z","2.0.0-beta.1":"2021-04-11T18:38:58.388Z","2.0.0-beta.2":"2021-04-11T18:53:12.851Z","2.0.0-beta.3":"2021-04-11T19:04:36.664Z","2.0.0-beta.4":"2021-04-11T19:48:00.034Z","2.0.0-beta.5":"2021-04-11T19:52:42.568Z","2.0.0-beta.6":"2021-04-11T19:55:24.134Z","2.0.0-beta.7":"2021-04-14T14:10:30.526Z","2.0.0-beta.8":"2021-04-15T12:13:59.779Z","2.0.0-beta.9":"2021-04-15T12:31:52.911Z","2.0.0-beta.10":"2021-04-15T16:41:15.644Z","2.0.0-beta.11":"2021-04-15T16:44:40.501Z","2.0.0-beta.12":"2021-06-16T15:15:59.599Z","2.0.0-beta.13":"2021-08-04T04:04:58.642Z","2.0.0-beta.14":"2021-09-06T20:31:30.069Z","2.0.0-beta.15":"2021-09-09T08:08:01.220Z","2.0.0-beta.16":"2021-09-11T07:58:21.321Z","2.0.0-beta.17":"2021-12-08T11:24:39.099Z","2.0.0-beta.18":"2021-12-08T11:29:30.516Z","2.0.0-beta.19":"2021-12-08T11:41:33.226Z","2.0.0-beta.20":"2021-12-08T11:56:16.066Z","2.0.0-beta.21":"2021-12-08T14:44:16.998Z"},"maintainers":[{"email":"shigma10826@gmail.com","name":"shigma"},{"email":"824399619@qq.com","name":"dragon-fish"}],"repository":{"type":"git","url":"git+https://github.com/Dragon-Fish/koishi-plugin-genshin.git"},"author":{"name":"Dragon-Fish","email":"824399619@qq.com"},"license":"Apache-2.0","readme":"","readmeFilename":"","description":"Genshin Impact player data fetcher and gacha simulator for Koishi.js","homepage":"https://github.com/Dragon-Fish/koishi-plugin-genshin#readme","keywords":["genshin","genshin-impact","genshin-api","hoyolab","koishi","mihoyo","qqbot"],"bugs":{"url":"https://github.com/Dragon-Fish/koishi-plugin-genshin/issues"}}