Skip to content

Commit cc9b2f8

Browse files
this is a night mail crossing da border
1 parent de2389b commit cc9b2f8

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/server.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,18 @@ new Elysia()
4949
.use(events)
5050
.use(api)
5151
.get("/", ({ redirect }) => redirect("/docs"))
52+
.post("/slack/emoji", ({ body }) => {
53+
console.log("recieved emoji pick");
54+
console.log(body);
55+
return {
56+
options: [
57+
{
58+
text: {
59+
text: "i am gay",
60+
type: "plain_text",
61+
},
62+
},
63+
],
64+
};
65+
})
5266
.listen({ hostname: "0.0.0.0", port: 3000 });

0 commit comments

Comments
 (0)