diff options
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 +} |