Skip to content

feat(tags): add print-return tag#2224

Merged
ChrisLovering merged 6 commits into
mainfrom
sid/feature/tags/print-return
Jul 24, 2022
Merged

feat(tags): add print-return tag#2224
ChrisLovering merged 6 commits into
mainfrom
sid/feature/tags/print-return

Conversation

@sid-maddy
Copy link
Copy Markdown
Contributor

@sid-maddy sid-maddy commented Jul 17, 2022

Since we already create the tag embed from the embed object in the metadata, we already have the
support to add images in embeds, albeit a bit more verbose than if we had added a media property
in the metadata containing only the URL.

Closes #2222
Closes python-discord/meta#187

Since we already create the tag embed from the `embed` object in the metadata, we already have the
support to add images in embeds, albeit a bit more verbose than if we had added a `media` property
in the metadata containing only the URL.
Copy link
Copy Markdown
Contributor

@Numerlor Numerlor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be using discord's cdn for the gif instead of hosting it somewhere ourselves?

Comment thread bot/resources/tags/print-return.md Outdated
@sid-maddy
Copy link
Copy Markdown
Contributor Author

Should we be using discord's cdn for the gif instead of hosting it somewhere ourselves?

Do we have our own CDN to host images?
If not, is there any benefit to hosting on a different host?

@ChrisLovering
Copy link
Copy Markdown
Member

You can upload the GIF to this repo and then reference the github raw URL for it in the embed.

The benefit is that this embed won't stop working if the original message is delete from within Discord.

As discussed in
https://discord.com/channels/267624335836053506/635950537262759947/998235482494353508,
using the raw GitHub URL for the GIF would be more reliable than the
Discord CDN URL.
As mentioned in the previous commit, using the raw GitHub URL would be
more reliable than a Discord CDN URL.
Copy link
Copy Markdown
Contributor

@shenanigansd shenanigansd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ChrisLovering ChrisLovering enabled auto-merge July 21, 2022 12:20
@minalike minalike added a: tags Related to bot tags t: enhancement Changes or improvements to existing features s: needs review Author is waiting for someone to review and approve labels Jul 24, 2022
Copy link
Copy Markdown
Contributor

@lemonsaurus lemonsaurus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please can we just change all our tags into animated gifs? Holy shit this is so cool. I wish I could approve this more than once. ✅ ✅✅✅✅✅✅✅✅✅

@ChrisLovering ChrisLovering merged commit 2a825b2 into main Jul 24, 2022
@ChrisLovering ChrisLovering deleted the sid/feature/tags/print-return branch July 24, 2022 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: tags Related to bot tags s: needs review Author is waiting for someone to review and approve t: enhancement Changes or improvements to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for embedding images/videos in tag responses Tag Suggestion: Explain that print and return do different things

6 participants