Skip to content

Commit f3240be

Browse files
Shitty discord api makes webhooks nolonger have ID's but are also member
1 parent 5b28070 commit f3240be

File tree

5 files changed

+189
-180
lines changed

5 files changed

+189
-180
lines changed

.DS_Store

6 KB
Binary file not shown.

src/main/java/com/volmit/abyssalith/commands/general/Log.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ public void handle(List<String> args, MessageReceivedEvent e) {
6161
**-** Go to <https://pastebin.com/> And paste that file there.
6262
**-** Alternatively <https://mclo.gs/> and paste it there.
6363
**-** Or just send the file""", false);
64+
if(e.getMessage().getMentionedMembers().get(0) != null){
65+
embed.setTitle("This was for: " +e.getMessage().getMentionedMembers().get(0).getAsMention() +"");
66+
}
6467

6568
//Commands
6669
//embed.addField("Name Here", "" + "Value here", false);

0 commit comments

Comments
 (0)