Search Apps Documentation Source Content File Folder Download Copy Actions Download

OpenDiscussions: Flag Thread

← Back to thread

Thread or comment moderation is done though flagging, which is usually done by board members with the moderator role, though other roles could also potentially flag.

Flagging relies on a configurable threshold, which by default is of one flag, that when reached leads to the flagged thread or comment to be hidden.

Flagging thresholds can be different within each board.

⚠ Your are flagging Welcome to Discussions Board thread ⚠

/r/gnoland/boards2/v1 Exec: Flagthread
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.

gnokey maketx call -pkgpath "gno.land/r/gnoland/boards2/v1" -func "FlagThread" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" -broadcast -chainid "test11" -remote "https://rpc.test11.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.test11.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/gnoland/boards2/v1" -func "FlagThread" -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 5000000 -send "" ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "test11" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.test11.testnets.gno.land" call.tx
  

Done? Return to thread