clemmy/commands/lurking.sh

8 lines
451 B
Bash

#Lurkan
notifs(){ getauth "user/replies" ".replies | reverse | $notifs_jq"; }
notifs2(){ echo "use mentions instead"; }
mentions(){ getauth "user/mention" ".mentions | reverse | $notifs_jq"; }
home(){ getauth "post/list" ".posts | $posts_jq" "type_=Subscribed"; }
#This has to get complex now -.-
comments(){ getauth "post" "(.post_view | $full_post_jq)" "id=$1"; getauth "comment/list" "(.comments | reverse | $comments_jq)" "post_id=$1&sort=New"; }