We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86931fd commit 54a23abCopy full SHA for 54a23ab
1 file changed
src/main/java/net/discordjug/javabot/util/InteractionUtils.java
@@ -98,8 +98,8 @@ private InteractionCallbackAction<?> delete(@NotNull ButtonInteraction interacti
98
99
String authorId = "";
100
101
- if (componentId.length>1) {
102
- authorId = componentId[1];
+ if (componentId.length>2) {
+ authorId = componentId[2];
103
}
104
105
if (authorId.equals(member.getUser().getId()) ||
0 commit comments