Skip to content

Commit

Permalink
feat(dm): Add handler for direct message modal submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Paranoia8972 committed Dec 20, 2024
1 parent 49e33ba commit 274725a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ func main() {
commands.SayCommand(s, i)
case strings.HasPrefix(i.ModalSubmitData().CustomID, "edit_modal_"):
commands.EditCommand(s, i)
case strings.HasPrefix(i.ModalSubmitData().CustomID, "dm_modal_"):
commands.DMCommand(s, i)
default:
commands.TicketModalSubmitHandler(s, i)
}
Expand Down

0 comments on commit 274725a

Please sign in to comment.