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 +$*