Command Reference

This document contains descriptions of Leverice commands, listed alphabetically. Each description contains the following parts:

  • small description about usage
  • syntax
  • examples

archive

Archives current channel. In terms of Leverice that means ending current discussion and hide this channel for current user and for others who suggest to archive this channel too. Archived channels may unarchive using unarchive command or by sending post to this channel

Syntax:

/archive

Arguments:

This command don’t have any arguments

Examples:

/archive

post

Send message in current channel

Syntax:

/post -m "Your message"

Arguments:

Name Type Required Description
m named string argument yes text of message to send

Examples:

/post -m "Hello world"
/post -m "I send my first message!"

subscribe

Subscribes to current public channel to provide possibility to post and normal reading messages. By default, if you are not subscribed, you can see only 30 last messages

Syntax:

/subscribe

Arguments:

This command don’t have any arguments

Examples:

/subscribe

unarchive

Unarchives current channel which was archived using archive command. After execution channel will be visible for all, who archives it earlier

Syntax:

/unarchive ["Reason"]

Arguments:

Name Type Required Description
  Unnamed string argument No Reason for unarchiving

Examples:

/unarchive
/unarchive "Want to discuss about one more thing"

Note

if you specify reason for example “Want to discuss about one more thing”, you will see it in system message about successful operation:
Channel unarchived because Your Name Want to discuss about one more thing.

unsubscribe

Unsubscribes or in other words leaves current channel. After running this command you cannot post messages here and see this channel at all, if it is not public. If this channel is public, you can subscribe to it again using subscribe command

Syntax:

/unsubscribe

Arguments:

This command don’t have any arguments

Examples:

/unsubscribe