Fix channel permission docs

This commit is contained in:
Draycia committed 2022-02-18 22:34:23 -08:00
1 parent c0d2d83941
commit 3d721282e4
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";