Skip to content

Commit

Permalink
fix: 判定に使う名前を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
ikafly144 committed May 13, 2023
1 parent 573b1d0 commit a7ee4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (h *Handler) handleComponent(event *events.ComponentInteractionCreate) {
return
}

if check, ok := component.Checks[componentName]; ok && !check(event) {
if check, ok := component.Checks[subName]; ok && !check(event) {
return
}

Expand Down

0 comments on commit a7ee4ea

Please sign in to comment.