diff options
author | Linnea Gräf <nea@nea.moe> | 2024-05-10 20:01:49 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-05-10 20:01:49 +0200 |
commit | 65cbc9069e15f7f77a0497395a7796906b8ade9a (patch) | |
tree | 5a36377e458fdf589365c2f1f8d516ae0c35fa37 /example/simple.sh | |
download | atrocity-65cbc9069e15f7f77a0497395a7796906b8ade9a.tar.gz atrocity-65cbc9069e15f7f77a0497395a7796906b8ade9a.tar.bz2 atrocity-65cbc9069e15f7f77a0497395a7796906b8ade9a.zip |
Initial commit
Diffstat (limited to 'example/simple.sh')
-rwxr-xr-x | example/simple.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/example/simple.sh b/example/simple.sh new file mode 100755 index 0000000..c90c451 --- /dev/null +++ b/example/simple.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +source "$(dirname -- "$0")"/../load.sh + +atrocity_debug Simple example loaded + +export ATROCITY_TOKEN="MzEyMjU2ODcxMTc0MTExMjMz.GPe_v6.4Acwm7tje3sMEvUu05NPyQrZalh8knTIHPgLmk" + +atrocity_dispatch() { + echo "Dispatching $1" +} + +atrocity_connect + +atrocity_loop |