From 7f8d006a7cb99cf2cd5d9e813a82482c789556dc Mon Sep 17 00:00:00 2001 From: maxstellar <93678379+maxstellar@users.noreply.github.com> Date: Sat, 11 Apr 2026 14:27:34 -0700 Subject: [PATCH] Add #help (#186) * add transcript for #help * Add #help to init python file --- nephthys/transcripts/__init__.py | 2 ++ nephthys/transcripts/transcripts/help.py | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 nephthys/transcripts/transcripts/help.py diff --git a/nephthys/transcripts/__init__.py b/nephthys/transcripts/__init__.py index b47d7d0..665dfa3 100644 --- a/nephthys/transcripts/__init__.py +++ b/nephthys/transcripts/__init__.py @@ -6,6 +6,7 @@ from nephthys.transcripts.transcripts.construct import Construct from nephthys.transcripts.transcripts.fallout import Fallout from nephthys.transcripts.transcripts.flavortown import Flavortown from nephthys.transcripts.transcripts.hctg import Hctg +from nephthys.transcripts.transcripts.help import Help from nephthys.transcripts.transcripts.identity import Identity from nephthys.transcripts.transcripts.jumpstart import Jumpstart from nephthys.transcripts.transcripts.lynx import Lynx @@ -24,4 +25,5 @@ transcripts: List[Type[Transcript]] = [ Hctg, Fallout, Lynx, + Help, ] diff --git a/nephthys/transcripts/transcripts/help.py b/nephthys/transcripts/transcripts/help.py new file mode 100644 index 0000000..c83ab3b --- /dev/null +++ b/nephthys/transcripts/transcripts/help.py @@ -0,0 +1,24 @@ +from nephthys.transcripts.transcript import Transcript + + +class Help(Transcript): + """Transcript for help""" + + program_name: str = "help" + program_owner: str = "U07F6FMJ97U" + + help_channel: str = "C07TM4C0AQ5" # help + ticket_channel: str = "C0AS7CGTK8W" # help-ticket + team_channel: str = "C0APKHZG495" # owners-of-help-channel + + faq_link: str = "https://hackclub.enterprise.slack.com/docs/T0266FRGM/F0ARLNM3A1E" + + first_ticket_create: str = f""" +hi (user)! seems like it's your first time, welcome to the help channel! someone will be here soon to help answer your question! for now, feel free to look at the <{faq_link}|faq>, it answers some common questions and gives basic information. +if your question has been answered, please hit the button below to mark it as resolved ^-^ +""" + ticket_create: str = f"someone will be here soon to help answer your question! for now, feel free to look at the <{faq_link}|faq>, it answers some common questions and gives basic information. if your question has been answered, please hit the button below to mark it as resolved ^-^" + resolve_ticket_button: str = "i get it now" + ticket_resolve: str = f"oh, oh! it looks like this post has been marked as resolved by <@{{user_id}}>! if you have any more questions, please make a new post in <#{help_channel}> and someone'll be happy to help you out! not me though, i'm just a silly racoon ^-^" + + not_allowed_channel: str = f"heyo! doesn't seem like you're supposed to be in that channel, please reach out to <@{program_owner}> if that's wrong!"