Skip to content

Astolfocat/nonebot_plugin_hotsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-hotsearch

✨ 热搜获取插件 for nonebot2 ✨

license python

📖 介绍

基于Nonebot 2.0, onebot v11的热搜获取插件~

可以获取微博、百度、知乎、贴吧、b站五个平台的最新热搜,并以合并转发的形式发送出来~

💿 安装

  • 使用 nb-cli 安装
nb plugin install nonebot-plugin-hotsearch
  • 使用 pip 安装
pip install nonebot-plugin-hotsearch
  • 随后,在项目的pyproject.tomlbot.py中加上如下代码,加载插件(根据版本而定)

pyproject.toml中添加

plugins = ["nonebot_plugin_quote"]

bot.py中添加

nonebot.load_plugin("nonebot_plugin_quote")

🎉 使用

指令表

指令 权限 需要@ 范围
/微博热搜 群员 群聊
/百度热搜 群员 群聊
/贴吧热搜 群员 群聊
/知乎热搜 群员 群聊
/B站热搜 群员 群聊

⭐ Special thanks to

本插件在编写过程中,参考了不少以下项目,对各位大佬表示由衷的感谢,若有相关侵权问题请联系作者删除

Bot框架: NoneBot

README模板参考: A-kirami|nonebot-plugin-template

插件灵感及参考来源: BeiYazi0|HoshinoBot的热搜插件

About

nonebot2 plugin for hotsearch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages