rmuchan / nonebot-plugin-flexperm Goto Github PK
View Code? Open in Web Editor NEW精细化的 NoneBot 权限管理插件
License: MIT License
精细化的 NoneBot 权限管理插件
License: MIT License
看你的插件描述看了差不多一个小时然后因为无法理解导致我直接在办公室睡着了...
希望能给出最基础的应用实例,意思是,假定一个插件名,例如"nonebot_plugin_example"和若干个用户(普通用户,管理员),如果要做一个简单操作,例如上述example插件要在qq里实现管理员可用而普通用户不可用并且提示“访问拒绝”是要怎么做的。好比编程语言基础教材,教授具有一定难度的语言语法必须要配合着一些基础应用实例否则初学者几乎看不懂。
你现在的markdown文档有一种“自言自语”的感觉,也许内部的逻辑很清晰,但是不说别人,就我的感觉是:很机械生硬,导致我看不懂你说的东西该怎么用,这让我感到很困惑
先不求上面的东西,当下我最希望知道的是
1.“.yml”文件该怎么命名?按你的意思是假如是面向插件“nonebotbot_plugin_example”的管理规则,应当将规则命名为"nonebotbot_plugin_example.yml"吗?这样命名之后是不是你的管理插件会自动将这个管理规则应用到这个插件上?
2.对一个".yml"插件的内部,你所提供的六个默认组,每个默认组花括号内填的应当是什么东西?user_id?插件名?group_id?类型又应当是什么?
先问这些吧,后续看情况再问
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.