Code Monkey home page Code Monkey logo

60s-'s Introduction

60s读世界

定时向指定群或列表好友发送每日60s读世界

配置方法 注python3.9以上版本才能正常使用

60s读世界下载方式

pip install nonebot-plugin-read-60s

不要忘记在bot.py里加入

nonebot.load_plugin("nonebot_plugin_read_60s")

在nonebot的env配置文件中输入以下内容

#定时发送配置
read_qq_friends=[12345678910] #设定要发送的QQ好友
read_qq_groups=[123456789,123456789,123456789] #设定要发送的群
read_inform_time=[{"HOUR":9,"MINUTE":1}] #在输入时间的时候 不要 以0开头如{"HOUR":06,"MINUTE":08}是错误的

60s-'s People

Contributors

bingganhe123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

60s-'s Issues

建议

请问可以添加一个给所有群发送的配置或者功能吗?

INFO建议删除

nonebot.logger.info("global_config:{}".format(global_config))
nonebot.logger.info("plugin_config:{}".format(plugin_config))

这两行其实和nonebot2自身debug的nonebot | Loaded Config 内容重复了,在INFO下也不必看,建议删除

建议

可不可以将应答词改一下,如果两个机器人在一个群的话总是会无限复读发送新闻~

建议

...in Config
read_qq_friends: List[int]
因不明原因出现了以上问题

NameError: name 'List' is not defined

经查询相关资料,在config.py中导入typing模块解决

from typing import List

环境:Python 3.10.0

求助

image
如图,请问这是哪里有问题啊?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.