Skip to main content

基于nonebot与gocqhttp的动漫番剧插件

Project description

nonebot-plugin-EnjoyAnimation

这是一个基于nonebot,gocqhttp的qq-bot动漫番剧插件

插件依赖

插件:nonebot-plugin-apscheduler nonebot-plugin-htmlrender

库:bs4 requests

安装插件

由于并没有上传至PyPI,只能手动安装

  1. 安装第三方库
pip install bs4
pip install requests
  1. 安装第三方插件

请在bot根目录运行此指令

nb plugin install nonebot-plugin-apscheduler
nb plugin install nonebot-plugin-htmlrender
  1. 安装此插件

EnjoyAnimation.py放在bot根目录\插件文件夹名(默认src)\plugins\下,进行本地加载,如未加载此插件,检查pyproject.toml文件中是否存在配置项,无则添加

plugin_dirs = ["src/plugins"]

配置插件

插件有三项必须配置项

配置文件为.env.dev(默认为此文件,.env中可以修改)文件

animation_admin=123456789            #管理员qq号
animation_time= [8,30]               #订阅提醒时间,[0~23,0~59]
animation_default_return_img=false   #一些番剧信息是否以图片发送(配置为false时,检测到风控会自动以图片进行发送)

插件使用

    Commands:【可选参数】
    #番剧信息 【当前季度的番剧】
    #番剧更新 【强制更新番剧信息】
    #今日新番 【今日更新的番剧】
    #新增订阅 【订阅=追番提醒】
    #取消订阅
    ==================== 
    #番剧查询 【番剧信息中的序号】
    #新增追番 【番剧信息中的序号】
    #我的追番 【查看追番列表】
    #取消追番

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

EnjoyAnimation-0.0.3.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

EnjoyAnimation-0.0.3-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file EnjoyAnimation-0.0.3.tar.gz.

File metadata

  • Download URL: EnjoyAnimation-0.0.3.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for EnjoyAnimation-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e65ac7b2c6f19ebbbbcaa14b292e587f228b293cbc6f7c462ebded22839043ad
MD5 860c3a2a736a185b669425e6611d5165
BLAKE2b-256 a4e43c96e7376935c4f05d67bb8847d42190878555b9ee3228929cdab15d29ff

See more details on using hashes here.

File details

Details for the file EnjoyAnimation-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for EnjoyAnimation-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b7977738188e9c8b1caaf1e02e9bb8d017e10317d07436204c2e957d8bff854e
MD5 273150ea5c31bd4f5c949c828a687314
BLAKE2b-256 60490d3921e8be34467b443eb7fc5e1bca700923de7660927f687b9676d7172b

See more details on using hashes here.

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