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:
@@ -3,7 +3,7 @@ import { Channel } from "../structures/guilds/Channel.js";
|
||||
import { message } from "../structures/messages/message.js";
|
||||
import { MessageButtonStyles } from "../structures/interactions/ButtonStyles.js";
|
||||
import { MessageActionRow } from "../structures/messages/MessageActionRow.js";
|
||||
import { ChannelSelectMenu, StringMenuComponent, StringSelectMenu } from "../structures/interactions/StringSelectMenu.js";
|
||||
import { ChannelSelectMenu, StringMenuComponent, StringSelectMenu, userSelectMenu } from "../structures/interactions/MessageSelectMenu.js";
|
||||
|
||||
/**
|
||||
* @param {message} mog
|
||||
@@ -21,10 +21,14 @@ export async function buttonTests(mog) {
|
||||
comp2.label = 'llllll';
|
||||
c.options.push(comp2);
|
||||
c.custom_id = "temp";
|
||||
|
||||
const comp3 = new userSelectMenu();
|
||||
comp3.custom_id = "userMenu";
|
||||
|
||||
const row = new MessageActionRow();
|
||||
// row.addComponent(comp);
|
||||
row.addComponent(c);
|
||||
// row.addComponent(c);
|
||||
row.addComponent(comp3);
|
||||
m.addComponents(row);
|
||||
m.content = "OOGA BOOGA";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user