8000 GitHub - Sakura7301/tarot2cow: 一个支持chatgpt-on-wechat的塔罗牌占卜插件
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sakura7301/tarot2cow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT-on-WeChat 的 Tarot2cow 插件

功能

  1. 完整的塔罗牌占卜
  2. 单张塔罗牌抽取
  3. 详细的塔罗牌解读
  4. 支持多种占卜牌阵
  5. 自动塔罗数据更新
  6. 支持图片 URL

安装指南

先决条件

  • 已安装 chatgpt-on-wechat
  • Python 3.7.3 或更高版本

第一步:下载插件

  1. 进入 chatgpt-on-wechat 的插件目录:

    cd ~/chatgpt-on-wechat/plugins
  2. 克隆插件仓库:

    git clone https://github.com/lemodragon/tarot2cow.git

第二步:安装依赖项

  1. 进入插件目录:

    cd tarot2cow
  2. 安装依赖项:

    pip install -r requirements.txt

第三步:启用插件

  1. 编辑 chatgpt-on-wechat 的配置文件:

    vi ~/chatgpt-on-wechat/config.json
  2. 在 "plugins" 列表中添加 "tarot2cow":

    "plugins": [
      "tarot2cow"
    ]

第四步:重启 chatgpt-on-wechat

重启 chatgpt-on-wechat 服务以加载新插件。

配置

插件的配置文件位于 plugins/tarot2cow/config.json

{
  "chain_reply": true,
  "auto_update": true,
  "enable_daily_limit": true,
  "daily_divine_limit": 1,
  "daily_tarot_limit": 1,
  "divine_prefixes": ["%占卜", "?占卜"],
  "tarot_prefixes": ["%塔罗牌", "?塔罗牌"]
}
  • chain_reply:启用或禁用链式回复
  • auto_update:启用或禁用塔罗数据的自动更新
  • enable_daily_limit: 启用或禁用时间限制
  • daily_divine_limit: 占卜次数限制
  • daily_tarot_limit塔罗牌次数限制
  • tarot_prefixesdivine_prefixes: 前缀

使用方法

在与 chatgpt-on-wechat 互动时:

  1. 抽取牌阵占卜:发送 %占卜?占卜 以执行完整的塔罗牌占卜。
  2. 抽取单张牌:发送 %塔罗牌?塔罗牌 以抽取一张塔罗牌。
  3. 获取详细解读:发送 %解读 以获取最后抽取的塔罗牌的详细解读。

占卜牌阵

该插件支持多种塔罗牌阵,包括:

  • 圣三角牌阵
  • 时间流牌阵
  • 四元素牌阵
  • 五牌阵
  • 吉普赛十字牌阵
  • 马蹄形牌阵
  • 六芒星牌阵
  • 平安扇牌阵
  • 沙迪拉克之星牌阵

塔罗数据

塔罗牌数据存储在 tarot.json 文件中,其中包括所有塔罗牌的详细信息。

自动更新

插件每 7 天检查并更新一次塔罗牌数据,以确保信息的准确性。

故障排除

如果遇到任何问题,请检查以下内容:

  1. 确保插件已安装在 chatgpt-on-wechat 的 plugins 目录中。
  2. 确保插件已在配置文件中启用。
  3. 确保所有依赖项已成功安装。
  4. 检查您的网络连接,以确保可以访问 GitHub 进行自动更新。
  5. 如果图像无法显示,请检查您的网络和图像 URL 的可访问性。

注意事项

  • 确保您的网络环境允许访问 GitHub,以便自动更新功能正常工作。
  • 如果图像无法显示,请检查图像 URL 的有效性或您的网络连接。

贡献

欢迎提交问题或拉取请求以改进插件。

版本历史

  • v6.0:当前版本

About

一个支持chatgpt-on-wechat的塔罗牌占卜插件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0