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

Local embed icons #1184

Open
MofiYy opened this issue Apr 18, 2024 · 2 comments
Open

Local embed icons #1184

MofiYy opened this issue Apr 18, 2024 · 2 comments
Labels
feature request Request for a new feature

Comments

@MofiYy
Copy link

MofiYy commented Apr 18, 2024

Summary

Using local icons in embed

What is the feature request for?

The core library

The Problem

The problem is using icons in set_author (it only supports icon links), but I would like to simplify the interaction with icons and add the ability to insert local icons that are stored with the bot code.

The Ideal Solution

Adding local icons to author will give a more convenient interaction of the developer with his created icons + simplify the storage of icon data, you will not have to look for third-party services for this + thereby speed up the process of executing a command with these icons, this mechanics is localized in the hikari library.

I wish we could pass the path to our icon. Which can have a completely different format, PNG values ending with WEBP

The Current Solution

No response

Additional Context

No response

@MofiYy MofiYy added the feature request Request for a new feature label Apr 18, 2024
@Enegg
Copy link
Contributor

Enegg commented Apr 18, 2024

You should be able to upload an attachment and set the icon url to attachment://...

@OseSem
Copy link
Contributor

OseSem commented Apr 22, 2024

You should be able to upload an attachment and set the icon url to attachment://...

You can but it is a hastle and being able to add a disnake.File or local file would be nice

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

No branches or pull requests

3 participants