检测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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27d6c2aaedccb52edd80dd102d3c1f2716d01f870521bb74d61c4876ce376308 |
|
MD5 | 39fec9eaeb23ebdd052e7d00d4f06149 |
|
BLAKE2b-256 | 675b8212f5871f62783a9d37713034bcb8a815602ab98a1f54aabf739c656505 |
Close
Hashes for nonebot_plugin_githubcard-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c54641ef012ef7cdfc161fb083a57b8b3f233fc19539b7f8136b39a6d4f84ebe |
|
MD5 | 4fb71d1fe27ff9046938f996d833bd9c |
|
BLAKE2b-256 | 49a6b6e73801ba47c24e314ed1242d3da735dced1fe348818eb424ab09595e92 |