!!本项目不再维护,请移步隔壁更加通用的订阅插件https://github.com/felinae98/nonebot-hk-reporter
- generate project using
nb create
. - writing your plugins under
prts/plugins
folder. - run your bot using
nb run
.
交流群 805983100
!!本项目不再维护,请移步隔壁更加通用的订阅插件https://github.com/felinae98/nonebot-hk-reporter
nb create
.prts/plugins
folder.nb run
.交流群 805983100
PS C:\Users\Administrator\Downloads\prts-forward-bot-main\prts-forward-bot-main> nb run
02-26 20:55:47 [INFO] nonebot | NoneBot is initializing...
02-26 20:55:47 [INFO] nonebot | Current Env: prod
02-26 20:55:47 [INFO] nonebot | Succeeded to import "nonebot.plugins.echo"
02-26 20:55:47 [ERROR] nonebot | Failed to import "weibo_push"
Traceback (most recent call last):
File "c:\users\administrator\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\administrator\appdata\local\programs\python\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\Scripts\nb.exe_main.py", line 7, in
File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\click\core.py", line 829, in c
all
return self.main(*args, **kwargs)
File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\click\core.py", line 782, in mai
n
rv = self.invoke(ctx)
File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\click\core.py", line 1259, in in
voke
return process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\click\core.py", line 1066, in in
voke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\click\core.py", line 610, in inv
oke
return callback(*args, **kwargs)
File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\nb_cli_init.py", line 46, in
run
run_bot(file, app)
File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\nb_cli\handlers.py", line 44, in
run_bot
module = importlib.import_module(module_name)
File "c:\users\administrator\appdata\local\programs\python\python39\lib\importlib_init.py", line 127, in import_mo
dule
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File ".\bot.py", line 26, in
nonebot.load_plugins("prts/plugins")
File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\nonebot\plugin.py", line 1044, i
n load_plugins
result = context.run(_load_plugin, module_info)
File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\nonebot\plugin.py", line 1028, i
n _load_plugin
module = _load(spec)
File "", line 711, in _load
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in call_with_frames_removed
File "prts/plugins\weibo_push_init.py", line 5, in
plugin_config = Config(**global_config.dict())
File "pydantic\env_settings.py", line 34, in pydantic.env_settings.BaseSettings.init
super().init(
File "pydantic\main.py", line 362, in pydantic.main.BaseModel.init
raise validation_error
pydantic.error_wrappers.ValidationError: 2 validation errors for Config
weibo_id
field required (type=value_error.missing)
target_group
field required (type=value_error.missing)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.