ChannelInviteCommand

class ChannelInviteCommand(plugin: LunaticChat, channelManager: ChannelManager, membershipManager: ChannelMembershipManager, languageManager: LanguageManager) : ChannelSubCommand(source)

Constructors

Link copied to clipboard
constructor(plugin: LunaticChat, channelManager: ChannelManager, membershipManager: ChannelMembershipManager, languageManager: LanguageManager)

Properties

Link copied to clipboard
open override val literal: String

The literal this subcommand is typed as. Parents use it to look up help text, so it must be the same string build passes to Commands.literal.

Functions

Link copied to clipboard
open override fun build(): LiteralArgumentBuilder<CommandSourceStack>

Builds the primary subcommand node, without the permission gate.

Link copied to clipboard
fun buildAll(): List<LiteralArgumentBuilder<CommandSourceStack>>

Builds the primary node and its aliases, each gated on permissionNode.