Load categories on timer - WhenAndWhatToShow and one additional question
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 5
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
I get "Command incomplete" as a response when I try to enter "all" for the parameter:
["12:34"] = "all",
I'm no coder or so, but I did find some entries about this command:
`elseif FreshStuff.WhenAndWhatToShow[ os.date( "%H:%N" ) ] == "all" then`
`FreshStuff.Broadcast( FreshStuff.MsgAll, botname() )`
On line 703-704, I think.
What happens from there I don't know.
Did find a line that was remarked, but at the time writing this, I don't remember which one.
I did remove this remark, but no change.
And, one additional question, since there's no documentation about this script to speak of, but how do I issue a command, like "!prunerel", preferably in the same area as the timing for releases? Have I missed any such function in the script file?
Thanks.
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
Start with the Lua script around lines 703-704 and trace how os.date("%H:%N") is used with FreshStuff.WhenAndWhatToShow. Check why the value "all" produces "Command incomplete" and determine whether the script documents or supports issuing !prunerel alongside timed releases. Done means the timer case and command behavior are understood and documented or corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100