Giter Site home page Giter Site logo

ysbotinfo's Introduction

原神机器人说明文档v2.0@220607

6月7日更新内容:

  1. 使用新的机器人 项目地址:

    https://github.com/CMHopeSunshine/LittlePaimon

    命令列表

    https://blog.cherishmoon.fun/posts/nonebot2funclist.html

  2. 机器人可以接受不以/开头的命令

添加cookie方法(pc/安卓)

大部分机器人的命令,需要依赖自己的cookie

电脑通过各种浏览器,安卓手机通过via浏览器添加cookie

  1. 打开浏览器,安卓手机可用via浏览器 via浏览器地址

https://viayoo.com/zh-cn/

  1. 访问米游社,先登录自己的账号 https://m.bbs.mihoyo.com/ys/
  2. 复制以下内容,粘贴到地址栏,运行(安卓via浏览器直接粘贴,其他浏览器粘贴后可能需要补全前面的javascript: 电脑也可使用F12调试里的console运行)

javascript:(function(){prompt(document.domain,document.cookie)})();

  1. 出现弹窗,复制框内文本
  2. 发送 ysb(空格)(复制的内容),添加cookie

部分命令列表

[]内是可选参数 ()内是必选参数

功能 对自己使用 扩展
实时便签 ssbq ssbq [uid]
每月札记 myzj [月份] myzj [uid] [月份]
米游社签到 mys签到 mys签到 [uid]
个人信息主页 ys ys [uid]
查看全部角色 ysa ysa [uid]
查看角色天赋等级 ysc 角色名 ysc [uid] 角色名
查看深渊具体阵容 sy [层数] sy [uid] [层数]
自动签到 mys自动签到 (开启/关闭) uid
自动提醒 ssbq (开启关闭)提醒 树脂数

更多命令,详细参见

https://blog.cherishmoon.fun/posts/nonebot2funclist.html

抽卡记录分析功能

命令: 获取抽卡记录 [uid] 抽卡记录链接 必须依赖抽卡记录链接,获取它有很多方法

pc上通过powershell获取抽卡链接的一种方法

来源:

https://github.com/sunfkny/genshin-gacha-export-js 的geturl.ps1.txt文件

  1. 确保近期打开过原神游戏内的抽卡历史记录
  2. 打开powershell窗口(右键windows徽标-->powershell)
  3. 复制以下内容至powershell窗口
# 拼接日志路径
# 外服需要把 原神 改成 Genshin Impact
$output_log_path = "$env:USERPROFILE\AppData\LocalLow\miHoYo\原神\output_log.txt"
# 读取文件
$log = Get-Content $output_log_path
# 提取链接,去除不需要的OnGetWebViewPageFinish:
$urls = $log -match "OnGetWebViewPageFinish:" -match "#/log" -replace "OnGetWebViewPageFinish:",""
# 取最后一个链接
$url = $urls[$urls.Length-1]
# 输出到控制台
Write-Host $url
# 浏览器打开
Start-Process -FilePath $url
# 如果运行ps1脚本
# write-host "按任意键退出..."
# [void][System.Console]::ReadKey($true)

ysbotinfo's People

Contributors

fuckbound avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.