⚡AmirhN
⚡AmirhN
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 4/25/2024 in #djs-questions
Fetch messages from multiple channels
Thought so, thanks!
6 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 4/25/2024 in #djs-questions
Fetch messages from multiple channels
using [email protected] Plz mention me upon responding
6 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
will close it
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
ty!
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
that's a good idea
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
hmm
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
kk will do something, thanks
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
so, is there any way to get message of it?
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
oh i used to just update the message with the modals, like this interaction.update({embeds: [_embed]});
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
oh, hmm, i remember i used it on some other codes, lemme try
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
prints
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
message:
null
replied:
false
type:
5
message:
null
replied:
false
type:
5
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
reading it.
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
name: 'interactionCreate',
async execute(interaction) {
if (!interaction.isModalSubmit()) return;
if (interaction.customId === 'msgReport') {
console.log(interaction);
return;
name: 'interactionCreate',
async execute(interaction) {
if (!interaction.isModalSubmit()) return;
if (interaction.customId === 'msgReport') {
console.log(interaction);
return;
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
const modal = new ModalBuilder()
.setCustomId('msgReport')
.setTitle('Report Message');
const reason = new TextInputBuilder()
.setCustomId('reason')
.setLabel("Why are you reporting this message?")
.setRequired(true)
.setMinLength(4)
.setStyle(TextInputStyle.Paragraph);
const firstActionRow = new ActionRowBuilder().addComponents(reason);
modal.addComponents(firstActionRow);
await interaction.showModal(modal);
const modal = new ModalBuilder()
.setCustomId('msgReport')
.setTitle('Report Message');
const reason = new TextInputBuilder()
.setCustomId('reason')
.setLabel("Why are you reporting this message?")
.setRequired(true)
.setMinLength(4)
.setStyle(TextInputStyle.Paragraph);
const firstActionRow = new ActionRowBuilder().addComponents(reason);
modal.addComponents(firstActionRow);
await interaction.showModal(modal);
calling modal
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/16/2022 in #djs-questions
modalsubmitinteraction message null
invoking it from a context menu interaction.
22 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/8/2022 in #djs-questions
set image of embed from local file
:D
14 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/8/2022 in #djs-questions
set image of embed from local file
embed object was trying to get this image:
image: { url: 'attachment://$0227.png' }
image: { url: 'attachment://$0227.png' }
but image was actually 0227.png
14 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/8/2022 in #djs-questions
set image of embed from local file
nvm found problem
14 replies
DIAdiscord.js - Imagine an app
Created by ⚡AmirhN on 9/8/2022 in #djs-questions
set image of embed from local file
14 replies