mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 01:29:09 +00:00
feat: Slash Commands (#337)
* feat: add discord interactions worker * feat(interactions): update CI/CD and terraform to add interactions * chore: fix lint issues * chore: fix build & emulation * fix(interactions): deployment + handler * chore: remove worker-dist via gitignore * feat: add /pickable-roles and /pick-role basis * feat: add pick, remove, and update the general /roleypoly command * fix: lint missing Member import
This commit is contained in:
parent
dde05c402e
commit
066f68ffef
59 changed files with 1219 additions and 248 deletions
|
@ -59,8 +59,14 @@ variable "api_public_uri" {
|
|||
|
||||
variable "api_path_to_worker" {
|
||||
type = string
|
||||
description = "Path to worker JS, relative to this file/terraform folder."
|
||||
default = "worker-dist/backend-worker.js"
|
||||
description = "Path to API worker JS, relative to this file/terraform folder."
|
||||
default = "worker-dist/api.js"
|
||||
}
|
||||
|
||||
variable "interactions_path_to_worker" {
|
||||
type = string
|
||||
description = "Path to interactions worker JS, relative to this file/terraform folder."
|
||||
default = "worker-dist/interactions.js"
|
||||
}
|
||||
|
||||
variable "root_users" {
|
||||
|
@ -86,7 +92,18 @@ variable "bot_tag" {
|
|||
description = ":tag or @sha265: of ghcr.io/roleypoly/bot"
|
||||
}
|
||||
|
||||
variable "worker_tag" {
|
||||
type = string
|
||||
default = ""
|
||||
description = "Usually the commit hash, this invalidates some secrets that can always be rotated"
|
||||
}
|
||||
|
||||
variable "allowed_callback_hosts" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "discord_public_key" {
|
||||
type = string
|
||||
description = "Discord Interactions Public Key"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue