From da8c90c96f73e22637e59dbd1330c716201335c6 Mon Sep 17 00:00:00 2001 From: Zergling_man Date: Fri, 30 Sep 2022 23:19:37 +1000 Subject: [PATCH] I finally figured out what /user/mention does so it's rendered nicely now. --- shitty_api.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shitty_api.sh b/shitty_api.sh index 162ce73..4c39941 100755 --- a/shitty_api.sh +++ b/shitty_api.sh @@ -48,7 +48,7 @@ actions="notifs notifs2 comments freepost shitpost follow unfollow following der #Endpoints. #Lurkan notifs(){ getauth "user/replies" ".replies | $notifs"; } -notifs2(){ getauth "user/mention"; } +notifs2(){ getauth "user/mention" ".mentions | $notifs"; } following(){ getauth "post/list" ".posts | $posts" "type_=Subscribed"; } comments(){ getauth "post" "(.post_view | $showpost), (.comments | reverse | $comments)" "id=$1"; } #Postan @@ -74,4 +74,4 @@ while getopts "a:hv" o;do case "${o}" in esac done shift $((OPTIND-1)) -$* \ No newline at end of file +$*