Skip to content

ElainaFanBoy/nonebot_plugin_githubcard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-githubcard

✨ 检测GitHub仓库链接并自动发送卡片信息(适用于Onebot V11)✨

license NoneBot python

📖 介绍

检测GitHub仓库链接并自动发送卡片信息

💿 安装

使用PIP安装
pip install nonebot-plugin-githubcard
克隆至本地安装
git clone https://github.com/ElainaFanBoy/nonebot_plugin_githubcard.git

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
github_token github_token = ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
github_type 0 github图片样式(0为socialify样式,1为opengraph样式)

🎉 使用

指令表

指令 权限 需要@ 说明
https://github.com/xxx/xxx 所有人 GitHub仓库链接

效果图

socialify样式:

opengraph样式:

About

检测GitHub仓库链接并自动发送卡片信息(适用于Onebot V11)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages