Skip to content

Instantly share code, notes, and snippets.

@cblgh
Last active May 19, 2020 18:25
Show Gist options
  • Save cblgh/617e01f851a3b2cb0417200b88ba4960 to your computer and use it in GitHub Desktop.
Save cblgh/617e01f851a3b2cb0417200b88ba4960 to your computer and use it in GitHub Desktop.
draft of cabal commands and their slash command representations for the Cabal MVP (not MVP+ or MVP++)

Commands

This list has been revised and scoped down for the MVP. See the revised list

Private commands

All moderation commands can be issued privately. A privately issued command encrypts the moderation action's generated message object before adding it to the current peer's append-only log.

To issue a moderation command privately, prepend private- to the command name e.g.

/private-mute <nick.pubkey>
/private-block <nick.pubkey>
/private-admin add <nick.pubkey>

Hiding

Hiding another peer hides all of their past and future messages.

Syntax

/hide <nick.pubkey> [in channel1, channel2] [for <duration>] [and notify] [reason "reason"]
/hide troll.b33f

Muting

Muting another peer hides all of their future messages, while preserving their messages prior to the mute.

Syntax

/mute <nick.pubkey> [in channel1, channel2] [for <duration>] [and notify] [reason "reason"]
/mute troll.b33f

Blocking

Blocking another peer removes all of their messages from your computer. This means all past and future messages will not be visible, or even known about.

In the future, blocking will also tell all peers to not to share messages from your log with the blocked peer.

Syntax

/block <nick.pubkey> [reason "reason"]
/block troll.b33f reason "spambot"

Listing

Moderation actions can be listed. List the moderation actions currently applied to your view by issuing /moderation-list

Syntax

/moderation-list

Revoking

A past moderation action may be revoked.

/unmute <nick.pubkey> [reason "reason"]
/show <nick.pubkey> [reason "reason"]
/unblock <nick.pubkey> [reason "reason"]

Roles

Moderators (mods) can perform all moderation actions except assigning new moderators or administrators. Administrators (admins) can perform all moderation actions, as well as assign new mods or admins.

Adding an admin or a mod

/admin[istrator] add <nick.pubkey> [reason "reason"]
/mod[erator] add <nick.pubkey> [reason "reason"]

Removing a previously issued admin or mod

/admin[istrator] remove <nick.pubkey> [reason "reason"]
/mod[erator] remove <nick.pubkey> [reason "reason"]

Archiving (MVP+)

Channel names may be created in error, or maliciously. Regardless, admins and mods have the power to hide them, by archiving them.

Syntax

/archive <channel name> [reason "reason"]

If a channel name has been archived by mistake, it can be restored:

/restore <channel name> [reason "reason"]

List archived channels:

/channels-archive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment