mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-23 13:07:37 +01:00
Adds / Updates rolerequest webhook
Adds / Updates rolerequest webhook to use the nebula system
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/decl/webhook/rolerequest
|
||||
id = WEBHOOK_ROLEREQUEST
|
||||
|
||||
/decl/webhook/rolerequest/get_message(var/list/data)
|
||||
.= ..()
|
||||
.["embeds"] = list(list(
|
||||
"title" = "[data["name"]]",
|
||||
"description" = data["body"],
|
||||
"color" = COLOR_WEBHOOK_DEFAULT
|
||||
))
|
||||
Reference in New Issue
Block a user