You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enhancementNew feature or requestinactivity-closedIssues that have been closed due to inactivity, but are otherwise valid and might be reopened laterstale
Is your feature request related to a problem? Please describe.
Each command will have to generate their own EmbedBuilders (and other entities)
Leading to inconsistency in the output given to users
Describe the solution you'd like
We need a way for commands (and other bot code?) to request the output generating entities supplied by the API from a common source so that they stay consistent in look and feel.
Can you elaborate on this suggesstion? I do not see the problem yet. And why you think that we need a common L&F.
Not every command wants to report back with embeds and commands may also want to use different colors in embeds, if they choose to use embeds. Apart from the color, there is not really much to configure. See #135 for some code examples of using embeds.
Thing is, there is almost no branding/L&F options available. And most "command categories" would probably run with their own distinct settings.
Doc-Tor for example uses yellow embeds. The tag system uses red. The jshell-bot uses green. Why should they all be merged to one color, just because its one bot that runs them. "command categories" are more interesting for having one unique color.
Commands like the ban or tex dont want to use embeds but plain messages. And apart from the color with embeds you can not configure much.
That said, we already offer a general embed builder that provides one particular "template". See #135 .
Footer text with a link to this repo and who ran this command, default timestamp, color?
No-one is gonna spend a lot of time reading other people their code just to get an embed style.
Again, we already have an embed builder that provides a setting for this. You give it the user who ran the command, a color you want, ... and it puts the timestamp there and everything. See #135 .
Again, we already have an embed builder that provides a setting for this. You give it the user who ran the command, a color you want, ... and it puts the timestamp there and everything. See #135 .
I'm not gonna read 35 files to find 1 EmbedBuilder.
Again, we already have an embed builder that provides a setting for this. You give it the user who ran the command, a color you want, ... and it puts the timestamp there and everything. See #135 .
I'm not gonna read 35 files to find 1 EmbedBuilder.
Regardless, it's an unofficial EmbedBuilder generated.
No-one knows about it, and we can make usage of author instead of the footer too.
So let's make usage of this issue to determine the style.
What colour, etc, etc
And that EmbedBuilder isn't an actual EmbedBuilder generator, it's a MessageEmbed generator.
It allows no customizing, no usage of fields, no usage of the author, images
I mean a method that generates an EmbedBuilder with default settings.
Which can be overwritten, thus allowing customizing while keeping it consistent in general.
(So forcing everyone to use that generator, instead of their own, which has no consistency across the board)
enhancementNew feature or requestinactivity-closedIssues that have been closed due to inactivity, but are otherwise valid and might be reopened laterstale
Activity
Zabuzard commentedon Oct 18, 2021
Can you elaborate on this suggesstion? I do not see the problem yet. And why you think that we need a common L&F.
Not every command wants to report back with embeds and commands may also want to use different colors in embeds, if they choose to use embeds. Apart from the color, there is not really much to configure. See #135 for some code examples of using embeds.
borgrel commentedon Oct 18, 2021
Most programs/programmers are very focussed on the look and feel.
Branding matters.
No elaboration needed.
If you feel that it is unnecessary then all good.
Go ahead and close it.
Tais993 commentedon Oct 18, 2021
I do agree with Borgrel.
It'd be nice if we had a default color, default timestamp and such for every embed to keep it consistent.
If a command wants to use red because it's an error, sure!
But by just doing nothing a lot of inconsistencies will happen causing a bad UX
Zabuzard commentedon Oct 18, 2021
Thing is, there is almost no branding/L&F options available. And most "command categories" would probably run with their own distinct settings.
Doc-Tor for example uses yellow embeds. The tag system uses red. The jshell-bot uses green. Why should they all be merged to one color, just because its one bot that runs them. "command categories" are more interesting for having one unique color.
Commands like the ban or tex dont want to use embeds but plain messages. And apart from the color with embeds you can not configure much.
That said, we already offer a general embed builder that provides one particular "template". See #135 .
Tais993 commentedon Oct 18, 2021
https://raw.githubusercontent.com/DV8FromTheWorld/JDA/assets/assets/docs/embeds/01-Overview.png
(On phone, can't display images)
Footer text with a link to this repo and author = who ran this command, default timestamp, color?
No-one is gonna spend a lot of time reading other people their code just to get an embed style.
I'm not saying commands can't use their own color, but by default having all commands the same colour is nice for consistency reasoning.
If Jshell ends up using another colour, sure! Like I said, that's fine.
But by having so many different kind of embeds, it just becomes a worse experience
Zabuzard commentedon Oct 18, 2021
Again, we already have an embed builder that provides a setting for this. You give it the user who ran the command, a color you want, ... and it puts the timestamp there and everything. See #135 .
Zabuzard commentedon Oct 18, 2021
Tais993 commentedon Oct 18, 2021
I'm not gonna read 35 files to find 1 EmbedBuilder.
Zabuzard commentedon Oct 18, 2021
Just adjust the code for this method and it will affect all embed users that opted to use "our style".
Zabuzard commentedon Oct 18, 2021
MessageUtils.javaTais993 commentedon Oct 18, 2021
Regardless, it's an unofficial EmbedBuilder generator.
No-one knows about it, and we can make usage of author instead of the footer too.
So let's make usage of this issue to determine the style.
What colour, etc, etc
Tais993 commentedon Oct 18, 2021
And that EmbedBuilder isn't an actual EmbedBuilder generator, it's a MessageEmbed generator.
It allows no customizing, no usage of fields, no usage of the author, images
I mean a method that generates an EmbedBuilder with default settings.
Which can be overwritten, thus allowing customizing while keeping it consistent in general.
(So forcing everyone to use that generator, instead of their own, which has no consistency across the board)
Zabuzard commentedon Oct 18, 2021
I really have difficulty following here and tend to discarding. But feel free to propose or implement something.
github-actions commentedon Dec 17, 2021
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.