mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
Initial work for whisper toggling
This commit is contained in:
1 parent
1b61afb687
commit
5af70daea9
8 files changed
+154
No files matched your search
@@ -284,6 +284,22 @@ public interface CarbonPlayer extends Audience, Identified {
|
||||
*/
|
||||
void spying(boolean spying);
|
||||
|
||||
/**
|
||||
* Controls if the player should receive direct messages or if they should be hidden.
|
||||
*
|
||||
* @return if the player is ignoring direct messages
|
||||
* @since 2.1.0
|
||||
*/
|
||||
boolean ignoringDirectMessages();
|
||||
|
||||
/**
|
||||
* Sets whether the player should receive direct messages or if they should be hidden.
|
||||
*
|
||||
* @param ignoring if the player is ignoring direct messages
|
||||
* @since 2.1.0
|
||||
*/
|
||||
void ignoringDirectMessages(final boolean ignoring);
|
||||
|
||||
/**
|
||||
* Sends the message as the player.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user