检测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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d220bffa7a9f1bfa91254112d344e16c82d270398ffd24ac8cb79413e84ecae0 |
|
MD5 | 0bf8a6edb9a26081562dce105840337f |
|
BLAKE2b-256 | 599e6dafef9a251c2275409ba9ef4647070824700b6d4f56fb6fdc8d52fa5f9f |
Close
Hashes for nonebot_plugin_githubcard-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b42d52f176088daa46a0672eb74ded9afb7fe0cd43e0b0803ff337e7dfb8985 |
|
MD5 | c36992621c624c15e0fd97eb14c4fdf6 |
|
BLAKE2b-256 | b9955e48777dfce52144207516beeba8d6385b04ca5220a4ebe388d6de3d1499 |