Skip to main content

NoneBot2 plugin for CheckMCNewsupdate

Project description

README

描述

一个基于 NoneBot2 的插件,用于定时获取 Minecraft 官方新闻 与 Minecraft Feedback 平台的最新文章,并在指定的群组内发送消息通知。

功能特点

安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-mcnews
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-mcnews
pdm
pdm add nonebot-plugin-mcnews
poetry
poetry add nonebot-plugin-mcnews
conda
conda install nonebot-plugin-mcnews

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot-plugin-mcnews"]

配置项

可通过 NoneBot2 配置文件(如.env)进行配置:

配置项 类型 默认值 说明
mcnews_debug bool False 开启调试模式,输出异常堆栈
mcnews_group_id int / str [] 指定自动推送消息的群组 ID

鸣谢

反馈

许可

MIT License.

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_mcnews-0.1.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_mcnews-0.1.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_mcnews-0.1.3.tar.gz.

File metadata

  • Download URL: nonebot_plugin_mcnews-0.1.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.9 CPython/3.10.18 Linux/6.11.0-1018-azure

File hashes

Hashes for nonebot_plugin_mcnews-0.1.3.tar.gz
Algorithm Hash digest
SHA256 23cecc3fd2b42dfa0740e4466fa2a3172a5102fbdec8dc8fd18c3c9e9350a209
MD5 1fa9ea2ae80dc10752c4ed3bb6bf33fb
BLAKE2b-256 c5fb0b7aa9963a4f5d8c3a17dff97842b6725508a8b7d79e665ab648d5480379

See more details on using hashes here.

File details

Details for the file nonebot_plugin_mcnews-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_mcnews-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0c7369088ac7e4fea32bb6e0df2b4fd4d8f96c54a90000c334a02a96f37e55d2
MD5 49b0a0d38f9ca9c19ad1a6cc13f1b31c
BLAKE2b-256 17ffc406b36a7f27fa888c1b2eccd5334666ce6bdc154fdb0f051f00830ef96c

See more details on using hashes here.

Supported by

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