From 1083db296869fdf6cbb9b4ac1739b62f21428920 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 12 May 2024 16:07:15 +0200 Subject: More WIP --- rest.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 rest.sh (limited to 'rest.sh') diff --git a/rest.sh b/rest.sh new file mode 100644 index 0000000..e4824d8 --- /dev/null +++ b/rest.sh @@ -0,0 +1,3 @@ +atrocity_rest() { + curl -X "$1" "https://discord.com/api/v10/$2" -H "authorization: Bot $ATROCITY_TOKEN" -H "content-type: application/json" --data "$3" 2>/dev/null +} -- cgit