Skip to content

Commit

Permalink
Hotfix:
Browse files Browse the repository at this point in the history
Fix DISCORD-IMAGEBOT-4
  • Loading branch information
gudenau committed Apr 1, 2020
1 parent 32472bf commit 9fdd581
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ public void onMessage(@Nonnull MessageReceivedEvent event){
// Most everything should be inherently thread safe anyway....
MiscUtil.runLater(()->{
var author = event.getMember();
if(author == null){
return;
}
if(author.getUser().isBot()){
return;
}
Expand Down

0 comments on commit 9fdd581

Please sign in to comment.