From 0dc54cf6a72121eee06b24c6008b416d645cefac Mon Sep 17 00:00:00 2001 From: MMK21Hub <50421330+MMK21Hub@users.noreply.github.com> Date: Sun, 26 Oct 2025 16:19:17 +0000 Subject: [PATCH 1/3] Document ?reopen --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e674281..251234c 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ You can assign yourself to get notified for specific tags on the app home Sometimes it’s nice to be able to do things quickly... Here’s where macros come in! Send one of the following messages in an open thread and something will happen - `?resolve` - the ticket gets closed. Equivalent of hitting i get it now +- `?reopen` - reopen a closed ticket - `?identity` - redirect to #identity-help - `?faq` - redirect to the FAQ - `?hii` - silly message :3 From 038afeba061474f87d7254450b512b711f83fcc7 Mon Sep 17 00:00:00 2001 From: MMK21 <50421330+MMK21Hub@users.noreply.github.com> Date: Sun, 26 Oct 2025 17:01:18 +0000 Subject: [PATCH 2/3] Add a transcript for Flavortown (#80) * Write v1 of the Flavortown transcript * Remove summer reference from bot manifest * Mrkdwn doesn't support bullet points, are we fr? * Actually link help channel in resolve message --- manifest.yml | 2 +- nephthys/transcripts/__init__.py | 3 +- .../transcripts/transcripts/flavortown.py | 42 +++++++++++++++++++ 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 nephthys/transcripts/transcripts/flavortown.py diff --git a/manifest.yml b/manifest.yml index 8ce8bdc..b66e6f8 100644 --- a/manifest.yml +++ b/manifest.yml @@ -1,7 +1,7 @@ { "display_information": { "name": "helper heidi", - "description": "helping you make your summer (and my partner proud)", + "description": "making support teams run smoothly (and my partner proud)", "background_color": "#c47600" }, "features": { diff --git a/nephthys/transcripts/__init__.py b/nephthys/transcripts/__init__.py index 3405adb..bfbd2f8 100644 --- a/nephthys/transcripts/__init__.py +++ b/nephthys/transcripts/__init__.py @@ -2,8 +2,9 @@ from typing import Type from nephthys.transcripts.transcript import Transcript +from nephthys.transcripts.transcripts.flavortown import Flavortown from nephthys.transcripts.transcripts.identity import Identity from nephthys.transcripts.transcripts.summer_of_making import SummerOfMaking -transcripts: List[Type[Transcript]] = [Identity, SummerOfMaking] +transcripts: List[Type[Transcript]] = [Identity, SummerOfMaking, Flavortown] diff --git a/nephthys/transcripts/transcripts/flavortown.py b/nephthys/transcripts/transcripts/flavortown.py new file mode 100644 index 0000000..7c2d61c --- /dev/null +++ b/nephthys/transcripts/transcripts/flavortown.py @@ -0,0 +1,42 @@ +from nephthys.transcripts.transcript import Transcript + + +class Flavortown(Transcript): + """Transcript for Hack Club Flavortown.""" + + program_name: str = "Flavortown" + program_owner: str = "U073M5L9U13" # @Mish + + help_channel: str = "C09MATKQM8C" # #flavortown-help + ticket_channel: str = "C09LS4SAWNB" # #flavortown-tickets + team_channel: str = "C09M16FHL0K" # #flavortown-support-team + + faq_link: str = "https://hackclub.slack.com/docs/T0266FRGM/F09NKF58FL5" + identity_help_channel: str = "C092833JXKK" # #identity-help + + first_ticket_create: str = f""" +:rac_info: Hey there (user), and welcome to the support channel! While we wait for someone to help you out, I have a couple of requests for you: +• Take a look through <{faq_link}|*the FAQ*> – you may find a solution waiting there +• Once your question has been answered, hit that green button below! +""" + ticket_create: str = f""" +:rac_info: Ah, hello! While we wait for a human to come and help you out, I've been told to remind you to: +• Have a read of <{faq_link}|*the FAQ*> – it might have the answer you're looking for +• Once your question is answered, hit the button below! +""" + ticket_resolve: str = f""" +Aha, this post has just been marked as resolved by <@{{user_id}}>! I'll head back to the kitchen now, \ +but if you need any more help, just send another message in <#{help_channel}> and I'll be right back o/ +""" + + home_unknown_user_title: str = ":upside-down_orpheus: woah, wait one sec!" + home_unknown_user_text: str = """ +_checks records_ + +heyy {name}, it doesn't look like you're on the list of people allowed to access this page – sorry! + +If you think this isn't right, ask <@{program_owner}> and they'll check for you! I'm still new to this \ +fancy "role-based access" stuff :P +""" + + not_allowed_channel: str = f"hey, it looks like you're not supposed to be in that channel, pls talk to <@{program_owner}> if that's wrong" From 8739e2bf65c8af6a67dc3858718e3fbc0b0bfd27 Mon Sep 17 00:00:00 2001 From: MMK21 <50421330+MMK21Hub@users.noreply.github.com> Date: Mon, 27 Oct 2025 22:19:25 +0000 Subject: [PATCH 3/3] Add an acknowledgements section to the Readme --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 251234c..b6b83d7 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,15 @@ Usage: `uv run nephthys/scripts/add_dummy_data.py ` - It takes a while to run (adding 20k records takes ~50 seconds on my machine) - Don't run this in production, obviously +## Acknowledgements + + + +- [Amber](https://github.com/transcental) for designing and building the bot, as well as running it for Summer of Making 2025 +- [MMK21](https://github.com/MMK21Hub) for working on the bot and running it for Flavortown +- [Everyone who has contributed to the codebase!](https://github.com/hackclub/nephthys/graphs/contributors) (Will you be next?) +- Navdeep for coming up with the bot name for Flavortown + ## License This project is licensed under the MIT License.