From d706e35fdf32f436ad1ee18f305a317cd5dc3321 Mon Sep 17 00:00:00 2001 From: Interitio Date: Tue, 15 Sep 2026 19:48:37 +1000 Subject: [PATCH] tweak: responses for focuswith and hyperfocused --- hyperfocus/twitch/component.py | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/hyperfocus/twitch/component.py b/hyperfocus/twitch/component.py index 4368d40..041350b 100644 --- a/hyperfocus/twitch/component.py +++ b/hyperfocus/twitch/component.py @@ -175,7 +175,7 @@ class FocusComponent(cmds.Component): if notify: self._last_deleted[profile.profileid] = now response_text = random.choice(responses) - response_text = payload.chatter.mention + ' ' + response_text + response_text = payload.chatter.mention + " " + response_text try: if deleted: await payload.broadcaster.send_message( @@ -273,13 +273,13 @@ class FocusComponent(cmds.Component): if hyper := (await self.get_hyperfocus(profile.profileid)): durstr = strfdelta(hyper.ends_at - utc_now()) await ctx.reply( - f"{user.name} is in HYPERFOCUS for another {durstr}! " - "They can only write emojis and commands in this time. Good luck!" + f"🐾 {user.name} remains in HYPERFOCUS for another {durstr}!" + " Nico allows only commands and emotes. No exceptions. kawaii16Stab" ) elif own: await ctx.reply( - "You are not hyperfocused!" - " Enter HYPERFOCUS mode for e.g. 10 minutes with '!hyperfocus 10'" + "🧐 Nico looked for a focus session and found nothing." + " Suspicious. Enter HYPERFOCUS mode for e.g. 10 minutes with '!hyperfocus 10'" ) else: await ctx.reply(f"{user.name} is not hyperfocused!") @@ -314,8 +314,8 @@ class FocusComponent(cmds.Component): durstr = strfdelta(end_at - now) await ctx.reply( - f"{ctx.chatter.name} follows {user.name} into HYPERFOCUS for the next {durstr}! " - "Best of luck! ☘️🍀☘️ " + f"🐱 Nico locks {ctx.chatter.name} into HYPERFOCUS with {user.name} for {durstr}! " + "Procrastination is now a group offense. kawaii16Shoot" ) else: await ctx.reply(f"{user.name} is not hyperfocused!") @@ -329,9 +329,7 @@ class FocusComponent(cmds.Component): @cmds.command(name="focuslist") async def focuslist_cmd(self, ctx): comm = await self.bot.profiles.fetch_community(ctx.broadcaster, touch=True) - link = ( - f"https://nicofocus.thewisewolf.dev/widget/?community={comm.communityid}" - ) + link = f"https://nicofocus.thewisewolf.dev/widget/?community={comm.communityid}" await ctx.reply( f"Browser source link for your channel's hyperfocus: {link} (For troubleshooting: your community id is {comm.communityid})" )