diff options
author | Linnea Gräf <nea@nea.moe> | 2024-05-12 16:07:15 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-05-12 16:07:15 +0200 |
commit | 1083db296869fdf6cbb9b4ac1739b62f21428920 (patch) | |
tree | c65b2597734aa3cf963f546f0ec90c890c4203bb /rest.sh | |
parent | 65cbc9069e15f7f77a0497395a7796906b8ade9a (diff) | |
download | atrocity-1083db296869fdf6cbb9b4ac1739b62f21428920.tar.gz atrocity-1083db296869fdf6cbb9b4ac1739b62f21428920.tar.bz2 atrocity-1083db296869fdf6cbb9b4ac1739b62f21428920.zip |
More WIP
Diffstat (limited to 'rest.sh')
-rw-r--r-- | rest.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 +} |