mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Reduce ChatChannel redundancy
This commit is contained in:
1 parent
c62f5d0641
commit
707556d9f9
6 files changed
+29
-765
No files matched your search
@@ -47,7 +47,7 @@ public class SimpleChatChannel extends ChatChannel {
|
||||
|
||||
private SimpleChatChannel() { }
|
||||
|
||||
private SimpleChatChannel(TextColor color, long id, Map<String, String> formats, String webhook, boolean isDefault, boolean ignorable, String name, double distance, String switchMessage, String toggleOffMessage, String toggleOnMessage, SimpleChat simpleChat) {
|
||||
SimpleChatChannel(TextColor color, long id, Map<String, String> formats, String webhook, boolean isDefault, boolean ignorable, String name, double distance, String switchMessage, String toggleOffMessage, String toggleOnMessage, SimpleChat simpleChat) {
|
||||
this.color = color;
|
||||
this.id = id;
|
||||
this.formats = formats;
|
||||
@@ -185,6 +185,10 @@ public class SimpleChatChannel extends ChatChannel {
|
||||
return true;
|
||||
}
|
||||
|
||||
public Map<String, String> getFormats() {
|
||||
return formats;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TextColor getColor() {
|
||||
return color;
|
||||
|
||||
Reference in new issue
Block a user