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

Minor Imgur fix #23

Merged
merged 2 commits into from
Jul 15, 2024
Merged

Minor Imgur fix #23

merged 2 commits into from
Jul 15, 2024

Conversation

neurofumo
Copy link
Contributor

@neurofumo neurofumo commented Jul 15, 2024

Fixes >template command not working for imgur links. Additionally, this patch should work on most image or cdn image links too as it has a valid user-agent (Windows 10 Google Chrome).

Example of said fix:
image
(The thumbnail on the embed is a bit broken at the moment due to my disnake or python versions.)

Example of same command in current Clueless:
image

Fixes template command not working for imgur links. Additionally, this patch should work on most links too as it has a valid user-agent (Windows 10 Google Chrome).
Comment on lines +23 to +24
intents = disnake.Intents(messages=True)
intents.message_content = True
Copy link
Contributor

Choose a reason for hiding this comment

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

This will cause a merge conflict with #22.

@VanillaSixtySix VanillaSixtySix merged commit 354b8eb into pxlsspace:main Jul 15, 2024
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

Successfully merging this pull request may close these issues.

2 participants