Giter VIP home page Giter VIP logo

prts-forward-bot's Introduction

prts

!!本项目不再维护,请移步隔壁更加通用的订阅插件https://github.com/felinae98/nonebot-hk-reporter

How to start

  1. generate project using nb create .
  2. writing your plugins under prts/plugins folder.
  3. run your bot using nb run .

交流群 805983100

prts-forward-bot's People

Contributors

felinae98 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

max-learning

prts-forward-bot's Issues

这个weibo_id是什么

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)

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.