We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e687c8 commit 3967132Copy full SHA for 3967132
src/main/java/net/dv8tion/jda/internal/entities/ReceivedMessage.java
@@ -168,8 +168,6 @@ private void checkSystem(String comment)
168
169
private void checkUser()
170
{
171
- if (isWebhookMessage())
172
- throw new IllegalStateException("Updating messages sent by a webhook must be done with the corresponding webhook!");
173
if (!getJDA().getSelfUser().equals(getAuthor()))
174
throw new IllegalStateException("Attempted to update message that was not sent by this account. You cannot modify other User's messages!");
175
}
0 commit comments