检测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为默认样式,1为opengraph样式) |
🎉 使用
指令表
指令 | 权限 | 需要@ | 说明 |
---|---|---|---|
https://github.com/xxx/xxx | 所有人 | 否 | GitHub仓库链接 |
效果图
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.1.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8df0c8f29819b12fe102c74cea87e28a8fd7e9b7af18696a7469e30b289be7de |
|
MD5 | af5ec9a9b8575eb7a5e2acf01ceb6846 |
|
BLAKE2b-256 | 0b23a5df9e7db90f1eecac924df1b72847e3ab94c2026115dc1447cac8c2590a |
Close
Hashes for nonebot_plugin_githubcard-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7d838beeed13dce42f1553353efb2ce2a2bca0996b4387e15b949dfc90c2cb9 |
|
MD5 | 94d26428225024a591334fa7ff273baa |
|
BLAKE2b-256 | e40305ff76bc1ec320e6997226c3f0c209bb35e90205a14a270cbcd3e66c5bf8 |