Adds / Updates rolerequest webhook

Adds / Updates rolerequest webhook to use the nebula system
This commit is contained in:
izac112
2023-11-29 05:15:35 +01:00
parent 59713b068d
commit a67eac3b3f
4 changed files with 21 additions and 10 deletions
@@ -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
))