You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.
If there is a way I am not sure of please I would love to hear it, but with the current package, I can find no way of accepting an image as an argument. I am making a bot which takes a user image input, to then put within a rich embed to send to another channel. I would like to stick with the packages way of multiple arguments, where in the channel it is one after the other, one at a time. But then this issue makes me take things outside of the package.
The text was updated successfully, but these errors were encountered:
If the image is attached to the message, you can access its details inside Message#attachments (stable | master), so that's a way to get an image as an argument.
I would recommend not using Github issues for general help on the library usage but using the Discord.js Official Discord server instead.
You'll have way more support there. Good luck!
Edit: I thought this was discordjs/discord.js repo and not Commando. I apologize for the conflict.
All good. Like I definitely know of ways I can get ahold of the image. But for convenience sake, having a type "attachment" for arguments would force me to basically recode what is already coded to just allow for an image. Because Now I will just have to do what the package does, send a message asking for the next argument in this case an image. Then await a response for 30 seconds. Then store that for the final rich embed message. So just inconvenient.
Using #367, you should be able to accept an image argument perfectly fine if you write your own argument to do so. The above link to Xiao's should work perfectly.
If there is a way I am not sure of please I would love to hear it, but with the current package, I can find no way of accepting an image as an argument. I am making a bot which takes a user image input, to then put within a rich embed to send to another channel. I would like to stick with the packages way of multiple arguments, where in the channel it is one after the other, one at a time. But then this issue makes me take things outside of the package.
The text was updated successfully, but these errors were encountered: