Skip to main content

nonebot2 plugin for hotsearch

Project description

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的热搜插件

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_hotsearch-0.1.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_hotsearch-0.1.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page