etc_requests.lua - Showing min level when it is using true/false
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 5
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
If i run `+help` the hub will show available command.
The request script will show:
Description: a script to request / fill releases
Min. Level: 20
But it doesn't have a min level anymore because it is using true/false
[ 0 ] = false, -- unreg
[ 10 ] = false, -- guest
[ 20 ] = true, -- reg
[ 30 ] = true, -- vip
[ 40 ] = true, -- svip
[ 50 ] = true, -- server
[ 55 ] = false, -- sbot
[ 60 ] = true, -- operator
[ 70 ] = true, -- supervisor
[ 80 ] = true, -- admin
[ 100 ] = true, -- hubowner
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open etc_requests.lua and trace how the request script builds the +help output from its permission table. Check that boolean permission values do not produce a misleading minimum level, then verify that the displayed description matches the configured permissions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100