Skip to content

Commit

Permalink
Shitty discord api makes webhooks nolonger have ID's but are also member
Browse files Browse the repository at this point in the history
  • Loading branch information
NextdoorPsycho committed Feb 3, 2022
1 parent 5b28070 commit f3240be
Show file tree
Hide file tree
Showing 5 changed files with 189 additions and 180 deletions.
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions src/main/java/com/volmit/abyssalith/commands/general/Log.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ public void handle(List<String> args, MessageReceivedEvent e) {
**-** Go to <https://pastebin.com/> And paste that file there.
**-** Alternatively <https://mclo.gs/> and paste it there.
**-** Or just send the file""", false);
if(e.getMessage().getMentionedMembers().get(0) != null){
embed.setTitle("This was for: " +e.getMessage().getMentionedMembers().get(0).getAsMention() +"");
}

//Commands
//embed.addField("Name Here", "" + "Value here", false);
Expand Down
Loading

0 comments on commit f3240be

Please sign in to comment.