attachment option

I have this bit of code,
iconURL: interaction.options.getAttachment("authoricon")
but when i put an attachment into the authoricon option, it errors
Was this page helpful?