mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Add basic /spy support
This commit is contained in:
1 parent
53d9086939
commit
b3dded7852
10 files changed
+237
-27
No files matched your search
@@ -109,7 +109,7 @@ public abstract class ChatChannel {
|
||||
*/
|
||||
public abstract boolean canPlayerUse(ChatUser user);
|
||||
|
||||
public abstract boolean canPlayerSee(ChatUser sender, ChatUser target);
|
||||
public abstract boolean canPlayerSee(ChatUser sender, ChatUser target, boolean checkSpying);
|
||||
|
||||
public abstract List<ChatUser> getAudience(ChatUser user);
|
||||
|
||||
@@ -133,6 +133,8 @@ public abstract class ChatChannel {
|
||||
|
||||
public abstract void processDiscordMessage(MessageCreateEvent event);
|
||||
|
||||
public String processPlaceholders(ChatUser user, String input) { return input; }
|
||||
|
||||
public static abstract class Builder {
|
||||
public abstract ChatChannel build(SimpleChat simpleChat);
|
||||
public abstract ChatChannel.Builder setColor(TextColor color);
|
||||
|
||||
Reference in new issue
Block a user