From ea03248efd5c4075c4d50b3adeb1ed39ebae1d70 Mon Sep 17 00:00:00 2001 From: Arav Narula Date: Sun, 15 Feb 2026 05:24:21 -0500 Subject: [PATCH] Add HCTG (#163) * Add HCTG * Add Hctg transcript to transcripts list * Hack Club: The Game -> Hack Club The Game * Fix formatting of channel comments in hctg.py * Change program name to 'hctg' * Update hctg.py * Format --------- Co-authored-by: Amber Co-authored-by: MMK21Hub <50421330+MMK21Hub@users.noreply.github.com> --- nephthys/transcripts/__init__.py | 2 ++ nephthys/transcripts/transcripts/hctg.py | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 nephthys/transcripts/transcripts/hctg.py diff --git a/nephthys/transcripts/__init__.py b/nephthys/transcripts/__init__.py index e5e6cd3..6975e67 100644 --- a/nephthys/transcripts/__init__.py +++ b/nephthys/transcripts/__init__.py @@ -4,6 +4,7 @@ from typing import Type from nephthys.transcripts.transcript import Transcript from nephthys.transcripts.transcripts.construct import Construct from nephthys.transcripts.transcripts.flavortown import Flavortown +from nephthys.transcripts.transcripts.hctg import Hctg from nephthys.transcripts.transcripts.identity import Identity from nephthys.transcripts.transcripts.jumpstart import Jumpstart from nephthys.transcripts.transcripts.midnight import Midnight @@ -19,4 +20,5 @@ transcripts: List[Type[Transcript]] = [ Construct, Jumpstart, Stasis, + Hctg, ] diff --git a/nephthys/transcripts/transcripts/hctg.py b/nephthys/transcripts/transcripts/hctg.py new file mode 100644 index 0000000..6e84f59 --- /dev/null +++ b/nephthys/transcripts/transcripts/hctg.py @@ -0,0 +1,24 @@ +from nephthys.transcripts.transcript import Transcript + + +class Hctg(Transcript): + """Transcript for Hack Club The Game""" + + program_name: str = "hctg" + program_owner: str = "U01MPHKFZ7S" + + help_channel: str = "C0A9XULS1SL" # hctg-help + ticket_channel: str = "C0AF2HXHNSG" # hctg-tickets + team_channel: str = "C08B3M2DNSW" # hack-club-the-game-internals + + faq_link: str = "https://hackclub.enterprise.slack.com/docs/T0266FRGM/F0AEVK71A69" + + first_ticket_create: str = f""" +hi (user)! it looks like this is your first time here, welcome! someone should be along to help you soon but please read the <{faq_link}|faq>, it answers a lot of common questions. +if your question has been answered, please hit the button below to mark it as resolved +""" + ticket_create: str = f"someone should be along to help you soon but in the mean time i suggest you read the faq <{faq_link}|here> to make sure your question hasn't already been answered. if it has been, please hit the button below to mark it as resolved :D" + 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"heya, it looks like you're not supposed to be in that channel, pls talk to <@{program_owner}> if that's wrong"