Maverick
DIAdiscord.js - Imagine an app
•Created by Maverick on 3/24/2025 in #djs-questions
Get attachment from command after modal submit
Hi there :waveBoye:
I'm currently working on a small
/bug report
command for a friend of mine. For now, it works like this:
- 1
Call the command and attach an Image (via .addAttachmentOption
)
- 2
Hit enter. Modal shows up > More info to add! Submit and done.
So, here's my question: What is the easiest way of getting an attachment url for an embed that'll be send to a private channel?
-# I thought I could make it easy for myself, but unfortunately I can't haha. Obviously, no more command data is transferred with a modal submit... :nerdSplain_siera:
Here'y my small test code:
4 replies