检测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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53b1960a52e3a84d8d3405ca4618ecc2b979064d4b08894ff36227ee2363d084 |
|
MD5 | 3d8bbb9ca2808d9c52e96ded3fa2fc8d |
|
BLAKE2b-256 | cbd4be50d87cf2beb630ad6a6b4e68e9a2b8271cb1c49c581ac8a07a51c0c8c6 |
Close
Hashes for nonebot_plugin_githubcard-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 652b6592410fc7baefb26626c4d9d8899b02d55e404e8e91373eb67adce99c85 |
|
MD5 | 9236438356c870036c3ff8754db5acb2 |
|
BLAKE2b-256 | 3bd596a8e2ae5f4fcdcfe4d3aa858191296ecd0058e2a237995d14ef2e8ad498 |