Added base modals and 'finished' menus

This commit is contained in:
ION606
2023-04-14 16:52:56 -04:00
parent 410473ecf8
commit ed16d4aeca
8 changed files with 67 additions and 12 deletions
+2 -2
View File
@@ -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: