mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
fix: modals remapping
This commit is contained in:
@@ -67,7 +67,7 @@ export default class InteractionHandler extends EventsHandler<{
|
||||
);
|
||||
this.setState({ event, mod });
|
||||
} else if (event.isModalSubmit()) {
|
||||
const mod = get(ms => ms.InteractionHandlers[5].get(event.customId));
|
||||
const mod = get(ms => ms.ModalSubmit.get(event.customId));
|
||||
this.setState({ event, mod });
|
||||
} else {
|
||||
throw Error('This interaction is not supported yet');
|
||||
|
||||
Reference in New Issue
Block a user