Initial work for whisper toggling

This commit is contained in:
Draycia committed 2023-08-25 00:40:21 -07:00
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.
*