Instagram-to-discord icon indicating copy to clipboard operation
Instagram-to-discord copied to clipboard

@everyone mention when new image is added

Open BigToeJoe88 opened this issue 4 years ago • 5 comments

I would like to add a @everyone mention to the Discord channel when a new image is added.

I tried to use Discord webhook embed objects and mentions but not succeed. https://discord.com/developers/docs/resources/webhook#execute-webhook

Would there be any solution to this that could be included in the code?

BigToeJoe88 avatar Feb 19 '21 09:02 BigToeJoe88

Have you tried to add "@everyone" word to embed["title"] variable?

fernandod1 avatar Feb 21 '21 19:02 fernandod1

Pings don't work on embeds I guess. There would be another text message to be added with the embed. Any way to do that? Its something like "plainText": in JSON embeds but I'm not too sure

InvisibleOS avatar Feb 22 '21 03:02 InvisibleOS

I used this some time ago, and it works, apart from that, I don't know i we can ping in webhooks https://github.com/jb3/webhook-discord/issues/17#issuecomment-607771261

ArvindAROO avatar Apr 11 '21 07:04 ArvindAROO

Yes, you can ping in webbooks. Instead of just placing @everyone, you need to put " <@everyone> " , just like for bots (without quotes).

aternis avatar May 07 '21 14:05 aternis

Following up on @aternis, you can see all Discord API ping formats here (this is a discord.js documentation but the API format is the same)

timpiglowski avatar Mar 12 '22 20:03 timpiglowski