mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 14:38:49 +00:00
Fix channel permission docs
This commit is contained in:
1 file changed
+4
-2
@@ -72,9 +72,11 @@ public final class ConfigChatChannel implements ChatChannel {
|
|||||||
private @Nullable Key key = Key.key("carbon", "global");
|
private @Nullable Key key = Key.key("carbon", "global");
|
||||||
|
|
||||||
@Comment("""
|
@Comment("""
|
||||||
The permission required to use the channel.
|
The permission required to use the /channel <channelname> and /<channelname> commands.
|
||||||
|
|
||||||
|
Assuming permission = "carbon.channel.global"
|
||||||
To read messages you must have the permission carbon.channel.global.see
|
To read messages you must have the permission carbon.channel.global.see
|
||||||
To send messages you must have the permission carbon.channel.global
|
To send messages you must have the permission carbon.channel.global.speak
|
||||||
""")
|
""")
|
||||||
private @Nullable String permission = "carbon.channel.global";
|
private @Nullable String permission = "carbon.channel.global";
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user