setListed

abstract suspend fun setListed(newListed: Boolean): Command

Controls whether this command appears in command listings/tab complete.

Return

the Command instance

Parameters

newListed

true to include the command in listings, false to hide it