enum

PrivateParlorXT::CommandPermissions

Inherits Enum < Comparable < Value < Object

Commands and command types which can be given to a Rank to permit using certain commands

Commands permitted for each type:

Users: View the exact number of joined, left, and blacklisted users

Upvote: Upvote messages

Downvote: Downvote messages

Promote: Promote users to the same rank AND/OR lower ranks (Mutually exclusive with PromoteSame and PromoteLower)

PromoteLower: Promote users to lower ranks ONLY (Mutually exclusive with Promote and PromoteSame)

PromoteSame: Promote users to the same rank ONLY (Mutually exclusive with Promote and PromoteLower)

Demote: Demote users of lower rank

Sign: Sign a message with the user's username

TSign: Sign a message with a tripcode

Reveal: Privately reveal username to another user

Spoiler: Add or remove a spoiler from a media message using SpoilerCommand

Pin: Pin a message to the chat

Unpin: Unpin the a message or the recent message

Ranksay: Sign a message with rank name (Mutually exclusive with RanksayLower)

RanksayLower: Sign a message with rank name OR name of a lower rank IF that rank can ranksay (Mutually exclusive with Ranksay)

Warn: Warn a message and give the user a cooldown

Delete: Delete a message and give the user a cooldown

Uncooldown: Remove a cooldown from a user

Remove: Delete message without giving the user a cooldown

Purge: Delete all messages from recently blacklisted users

Blacklist: Ban a user from the chat

Whitelist: Invite a user to the chat (Applicable only if registration is closed)

MotdSet: Modify and set the MOTD/rules

RankedInfo: Get info (OID, karma, cooldown duration) of a another user

Unblacklist: Unban a user from the chat

Constants

Users = 0
Upvote = 1
Downvote = 2
Promote = 3
PromoteLower = 4
PromoteSame = 5
Demote = 6
Sign = 7
TSign = 8
Reveal = 9
Spoiler = 10
Pin = 11
Unpin = 12
Ranksay = 13
RanksayLower = 14
Warn = 15
Delete = 16
Uncooldown = 17
Remove = 18
Purge = 19
Blacklist = 20
Whitelist = 21
MotdSet = 22
RankedInfo = 23
Unblacklist = 24

Instance methods

blacklist?

Returns true if this enum value equals Blacklist

Source
delete?

Returns true if this enum value equals Delete

Source
demote?

Returns true if this enum value equals Demote

Source
downvote?

Returns true if this enum value equals Downvote

Source
motd_set?

Returns true if this enum value equals MotdSet

Source
pin?

Returns true if this enum value equals Pin

Source
promote?

Returns true if this enum value equals Promote

Source
promote_lower?

Returns true if this enum value equals PromoteLower

Source
promote_same?

Returns true if this enum value equals PromoteSame

Source
purge?

Returns true if this enum value equals Purge

Source
ranked_info?

Returns true if this enum value equals RankedInfo

Source
ranksay?

Returns true if this enum value equals Ranksay

Source
ranksay_lower?

Returns true if this enum value equals RanksayLower

Source
remove?

Returns true if this enum value equals Remove

Source
reveal?

Returns true if this enum value equals Reveal

Source
sign?

Returns true if this enum value equals Sign

Source
spoiler?

Returns true if this enum value equals Spoiler

Source
t_sign?

Returns true if this enum value equals TSign

Source
unblacklist?

Returns true if this enum value equals Unblacklist

Source
uncooldown?

Returns true if this enum value equals Uncooldown

Source
unpin?

Returns true if this enum value equals Unpin

Source
upvote?

Returns true if this enum value equals Upvote

Source
users?

Returns true if this enum value equals Users

Source
warn?

Returns true if this enum value equals Warn

Source
whitelist?

Returns true if this enum value equals Whitelist

Source