clemmy/commands/lurking.sh

8 lines
440 B
Bash

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