mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-03 15:08:18 +01:00
Fix incorrect parameter name for allowGroupMentions
This commit is contained in:
parent
b84207f955
commit
3da8efae49
@ -25,7 +25,7 @@ public class DiscordMessageEvent extends Event implements Cancellable {
|
|||||||
/**
|
/**
|
||||||
* @param type The message type/destination of this event.
|
* @param type The message type/destination of this event.
|
||||||
* @param message The raw message content of this event.
|
* @param message The raw message content of this event.
|
||||||
* @param allowGroupMentions Whether or not the message should allow the pinging of roles, users, or emotes.
|
* @param allowGroupMentions Whether the message should allow the pinging of roles, @here, or @everyone.
|
||||||
*/
|
*/
|
||||||
public DiscordMessageEvent(final MessageType type, final String message, final boolean allowGroupMentions) {
|
public DiscordMessageEvent(final MessageType type, final String message, final boolean allowGroupMentions) {
|
||||||
this(type, message, allowGroupMentions, null, null, null);
|
this(type, message, allowGroupMentions, null, null, null);
|
||||||
@ -34,7 +34,7 @@ public class DiscordMessageEvent extends Event implements Cancellable {
|
|||||||
/**
|
/**
|
||||||
* @param type The message type/destination of this event.
|
* @param type The message type/destination of this event.
|
||||||
* @param message The raw message content of this event.
|
* @param message The raw message content of this event.
|
||||||
* @param allowGroupMentions Whether or not the message should allow the pinging of roles, users, or emotes.
|
* @param allowGroupMentions Whether the message should allow the pinging of roles, @here, or @everyone.
|
||||||
* @param avatarUrl The avatar URL to use for this message (if supported) or null to use the default bot avatar.
|
* @param avatarUrl The avatar URL to use for this message (if supported) or null to use the default bot avatar.
|
||||||
* @param name The name to use for this message (if supported) or null to use the default bot name.
|
* @param name The name to use for this message (if supported) or null to use the default bot name.
|
||||||
* @param uuid The UUID of the player which caused this event or null if this wasn't a player triggered event.
|
* @param uuid The UUID of the player which caused this event or null if this wasn't a player triggered event.
|
||||||
|
@ -10,7 +10,7 @@ public interface DiscordService {
|
|||||||
* Sends a message to a message type channel.
|
* Sends a message to a message type channel.
|
||||||
* @param type The message type/destination of this message.
|
* @param type The message type/destination of this message.
|
||||||
* @param message The exact message to be sent.
|
* @param message The exact message to be sent.
|
||||||
* @param allowGroupMentions Whether or not the message should allow the pinging of roles, users, or emotes.
|
* @param allowGroupMentions Whether the message should allow the pinging of roles, @here, or @everyone.
|
||||||
*/
|
*/
|
||||||
void sendMessage(final MessageType type, final String message, final boolean allowGroupMentions);
|
void sendMessage(final MessageType type, final String message, final boolean allowGroupMentions);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user