tangled
alpha
login
or
join now
dunkirk.sh
/
hackatime-bot
0
fork
atom
providing password reset services for a long while: circa 2025
0
fork
atom
overview
issues
pulls
pipelines
feat: add close button on main signed in page
Kieran Klukas
1 year ago
ca7508b0
55ad16d7
+16
1 changed file
expand all
collapse all
unified
split
features
command.ts
+16
features/command.ts
···
43
43
action_id: "reset-password",
44
44
style: "danger",
45
45
},
46
46
+
{
47
47
+
type: "button",
48
48
+
text: {
49
49
+
type: "plain_text",
50
50
+
text: "gutentag!",
51
51
+
},
52
52
+
action_id: "bye",
53
53
+
},
46
54
],
47
55
},
48
56
{
···
110
118
await context.respond({
111
119
response_type: "ephemeral",
112
120
text: "No worries! If you change your mind just type `/hackatime` again ^-^",
121
121
+
});
122
122
+
});
123
123
+
124
124
+
slackApp.action("bye", async ({ context }) => {
125
125
+
if (context?.respond)
126
126
+
await context.respond({
127
127
+
response_type: "ephemeral",
128
128
+
text: "bye!!! :goodnight:",
113
129
});
114
130
});
115
131
};