diff options
author | Linnea Gräf <nea@nea.moe> | 2024-10-16 23:10:37 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-10-16 23:10:37 +0200 |
commit | 5d9879e10d52b58c6ac519a200ddcb80d5905d5f (patch) | |
tree | eb45251e3d012176036a8b6421273eb7e71baf4b /data.sh | |
parent | 788470b8fd1e645d41d456183443fb4f4534c511 (diff) | |
download | forgebot-5d9879e10d52b58c6ac519a200ddcb80d5905d5f.tar.gz forgebot-5d9879e10d52b58c6ac519a200ddcb80d5905d5f.tar.bz2 forgebot-5d9879e10d52b58c6ac519a200ddcb80d5905d5f.zip |
Add notifications
Diffstat (limited to 'data.sh')
-rw-r--r-- | data.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,10 @@ export FORGEBOT_DATA_DIR="forgebotdata" mkdir -p "$FORGEBOT_DATA_DIR" +list_all_watched_accounts() { + grep --files-with-matches -rE '.*' "$FORGEBOT_DATA_DIR" | sed s'|.*/||' +} + list_watchers() { # Usage: list_watchers <minecraft uuid> cat "$FORGEBOT_DATA_DIR/$1" |