Conversation
This macro tells people to use #hackatime-help. Flavortown wants people to use #hackatime-help instead of #flavortown-help, so I added a macro similar to ?identity that redirects people to the correct channel. *** Default response (pretty Flavortowny): > Hi (user), could you ask that question in > <#C0AFG0XGGMP>? :rac_cute: > > It helps us keep track of Hackatime-related questions > easier! > > _I've marked this thread as resolved_
There was a problem hiding this comment.
Pull request overview
Adds a new Slack macro to Nephthys to redirect Hackatime-related questions into the dedicated support channel, and auto-resolve the originating ticket thread for cleanliness.
Changes:
- Added a new
?hackatimemacro implementation that replies with a redirect message and resolves the ticket. - Added a new transcript entry (
hackatime_macro) to configure the macro’s response text. - Documented the new macro in the README and registered it in the macro registry.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| README.md | Documents the new ?hackatime macro in the list of available macros. |
| nephthys/transcripts/transcript.py | Adds hackatime_macro transcript text used by the new macro. |
| nephthys/macros/hackatime.py | Implements the Hackatime macro (reply + resolve). |
| nephthys/macros/init.py | Registers Hackatime in the macro import list and macro_list. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
MMK21Hub
left a comment
There was a problem hiding this comment.
Thanks for the PR! My only comment is that we're fine with some Hackatime help questions in #flavortown-help - it's usually only the more complex or difficult to answer ones where we'll redirect to #hackatime-help (otherwise they tend to lay unanswered for ages).
I can see this being a handy macro for those cases though! Could it be rephrased a bit so it doesn't sound like all Hackatime questions should go there, but you can get better help for Hackatime-specific questions there?
Otherwise, I've tested it and it's working well :)
|
@MMK21Hub 👍 did a simple rephrase, also going ahead and updating branch. |
There was a problem hiding this comment.
Pull request overview
Adds a new Slack macro to redirect Hackatime-related questions to #hackatime-help, aligning with Flavortown support workflow and reducing off-topic questions in other help channels.
Changes:
- Introduces a new
?hackatimemacro that replies with a configured redirect message and resolves the ticket. - Adds a new
hackatime_macrotranscript field to configure the macro’s default response. - Registers the macro in the macro registry and documents it in the README.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
nephthys/transcripts/transcript.py |
Adds hackatime_macro transcript text used by the new macro. |
nephthys/macros/hackatime.py |
Implements the ?hackatime macro behavior (reply + resolve). |
nephthys/macros/__init__.py |
Registers Hackatime so it can be invoked. |
README.md |
Documents the new macro in the macro list. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This macro tells people to use #hackatime-help.
Flavortown wants people to use #hackatime-help instead of #flavortown-help, so I added a macro similar to ?identity that redirects people to the correct channel.
Default response (pretty Flavortowny):