Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@everyone mention when new image is added #12

Open
BigToeJoe88 opened this issue Feb 19, 2021 · 5 comments
Open

@everyone mention when new image is added #12

BigToeJoe88 opened this issue Feb 19, 2021 · 5 comments

Comments

@BigToeJoe88
Copy link

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?

@fernandod1
Copy link
Owner

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

@InvisibleOS
Copy link

InvisibleOS commented Feb 22, 2021

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

@ArvindAROO
Copy link

I used this some time ago, and it works, apart from that, I don't know i we can ping in webhooks
jb3/webhook-discord#17 (comment)

@aternis
Copy link

aternis commented May 7, 2021

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

@timpiglowski
Copy link

timpiglowski commented Mar 12, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants