检测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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a981eede386e1aa20fe10e9bfea2f935927aac7fcd6bcc170299e4005b2bc09b |
|
MD5 | b8fe50fda660184296b380b03595d39f |
|
BLAKE2b-256 | b66f21e53789a36b3a8a895f461b5ce2873add34461462b857956644303e17cb |
Close
Hashes for nonebot_plugin_githubcard-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f0725e560e624b5634d51b2ac2ffca9a44806e45adee3e67c9ceeb57e467a06 |
|
MD5 | d5cba3c7324578ba57304417ee698661 |
|
BLAKE2b-256 | 215691e78f19a18f0ed30ac4aebbef8d30a7629d31098d43ec2abf1f3c3ceb9a |