© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Handling Component Interaction to Modal interaction to Component interaction to Modal interaction - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
•
3y ago
•
4 replies
MRDGH2821
Handling Component Interaction to Modal interaction to Component interaction to Modal interaction
I have this command
:
https://github.com/MRDGH2821/Perpetual-Mechanical-Array-Bot/blob/main/src/spiralAbyss/commands/sa-mod.ts#L370
This command makes 4 teams
. And the logic for team creation is in this file
:
https://github.com/MRDGH2821/Perpetual-Mechanical-Array-Bot/blob/main/src/spiralAbyss/lib/TravelerTeam.ts
tl
;dr
- this team making class uses the interaction object to
:
1
. Ask a string select menu
2
. Show a modal with 3 text boxes
3
. Show an action row with accept
/cancel buttons
And I have to make 4 such total teams
.
My Issue
:
After the string select menu
, modal does not show up
. An error comes
: unknownintaraction
Sapphire - Imagine a Framework
Join
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,286
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Handling modal submissions
S-IaF
Sapphire - Imagine a Framework / discordjs-support
3y ago
Encountered error while handling an interaction handler run method for interaction-handler
S-IaF
Sapphire - Imagine a Framework / discordjs-support
3y ago
Throwing on unhandled interaction
S-IaF
Sapphire - Imagine a Framework / discordjs-support
4y ago
interaction.showModal not working
S-IaF
Sapphire - Imagine a Framework / discordjs-support
4y ago