Commit graph

4 commits

Author SHA1 Message Date
4ccfd8172a Respond with ephemeral message to slash command usage
Signed-off-by: Ava Affine <ava@sunnypup.io>
2025-02-17 20:24:09 -08:00
fed49ba3cb refactor main, and fix bugs from initial manual run
Signed-off-by: Ava Affine <ava@sunnypup.io>
2025-01-13 15:45:07 -08:00
55f9725af1 fix nil map dereference in discord commands, and add option type to slash command option
Signed-off-by: Ava Affine <ava@sunnypup.io>
2025-01-08 15:28:24 -08:00
430c0afaa6 Confessions module
This commit adds a confessions feature that allows users to mark a
"confessional" channel and also to post anonymously to it. The changes
that this comprises of are as follows:

- New discord "slash" commands for both marking a confessional and
  posting to it
- a bunch of stuff in the discord module to register and deregister
  "slash" commands
- New event type to track marked confessionals
- confession module that processes new confession channel links
  and also posts confessions to corresponding confessionals

Not included in this commit:
- a way to cleanup obsolete or reconfigured confession channel links
- access control for the confessional slash commands

Signed-off-by: Ava Affine <ava@sunnypup.io>
2025-01-08 13:40:11 -08:00