Giter VIP home page Giter VIP logo

nonebot-plugin-flexperm's People

Contributors

rmuchan avatar

Stargazers

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

Watchers

 avatar

Forkers

18870

nonebot-plugin-flexperm's Issues

请教一下插件的语法相关实例

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

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.