检测GitHub仓库链接并自动发送卡片信息(适用于Onebot V11)
Project description
📖 介绍
检测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样式:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot_plugin_githubcard-0.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec2611a953d06aba58535ff8168f2ebd57af5a47784814de3959622175df4650 |
|
MD5 | 2d177f7637cf4086e431807060977f3a |
|
BLAKE2b-256 | 027607bc051fadeaf7680cd730d4906ed65052ab3fc86fedfb4667a1c94aa415 |
Close
Hashes for nonebot_plugin_githubcard-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12e38986d87150956de41321db217fde6335659927dc2139405c763188ad619d |
|
MD5 | de1d79b5dd2a9bda0c22cacba5593a0c |
|
BLAKE2b-256 | 4af1f6c58b06f47b83a4c1d42f1a5969012addef41d27887be1f4ed12a1543cf |