mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-05-14 22:26:54 +00:00
Added base modals and 'finished' menus
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import gateWayEvents from '../gateway/dispatch.js'
|
||||
import { message } from '../messages/message.js';
|
||||
import {Interaction} from '../interactions/interaction.js';
|
||||
import Guild from '../guilds/Guild.js';
|
||||
import { createInteraction } from '../interactions/createInteraction.js';
|
||||
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ export default async function handleEvents(msgObj, token, client) {
|
||||
break;
|
||||
|
||||
case gateWayEvents.InteractionCreate:
|
||||
resolve({op: op, t: t, interaction: new Interaction(msgObj["d"], client)});
|
||||
resolve({op: op, t: t, interaction: createInteraction(msgObj["d"], client)}); //interaction: new Interaction(msgObj["d"], client)
|
||||
break;
|
||||
|
||||
case gateWayEvents.GuildCreate:
|
||||
|
||||
Reference in New Issue
Block a user