mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-01 08:39:31 +01:00
Remove unnecessary setSuppressEmbeds
This commit is contained in:
parent
65d1241dd9
commit
639507e9db
@ -97,9 +97,7 @@ public abstract class AbstractDiscordGuildMessageChannel<T extends GuildMessageC
|
||||
.setAvatarUrl(message.getWebhookAvatarUrl())
|
||||
);
|
||||
} else {
|
||||
MessageCreateAction action = channel.sendMessage(createData)
|
||||
// JDA doesn't properly grab this from MessageCreateData
|
||||
.setSuppressEmbeds(createData.isSuppressEmbeds());
|
||||
MessageCreateAction action = channel.sendMessage(createData);
|
||||
|
||||
Long referencedMessageId = message.getMessageIdToReplyTo();
|
||||
if (referencedMessageId != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user