-
-
Notifications
You must be signed in to change notification settings - Fork 99
Adding tag used in the footer #308
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
Adding tag used in the footer #308
Conversation
Could you add a screenshot on how it looks like please? Thanks. |
public static @NotNull MessageEmbed generateEmbed(@Nullable String title, | ||
@NotNull CharSequence content, @Nullable User user, @Nullable Color ambientColor) { | ||
@NotNull CharSequence content, @Nullable User user, @Nullable Color ambientColor, | ||
@Nullable String footerTag) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is overly specific. Change the role of footerTag
to just a footer
. And then move the user.getName() + footerTag
logic into the call-site.
So that all callers can now use this parameter as footer and not as "footerTag".
Wait stop. This commit history is totally broken. Why does it contain the code from your other PR (#296 ), remove that stuff. You have to develop your features individually, isolated from each other. |
Converted to draft to block merging before the git history is cleaned up (i.e. the dependency to #296 is removed). |
Yes. Have a look at the commit history and the changes that this PR introduces. Basically, 8 of your 9 commits should not be here, they are from #296 and should not be in this PR (#308 ): |
well maybe you got it confused those are mine commits not @MaiTheLord , and also I have no idea how these commits entered here, giving that I have only created the branch and pushed the changes on it |
You probably did something wrong when rebasing/pulling develop. In any case, those commits have to go. |
7b13bce
to
98d1611
Compare
Closed in favor of #309 |
This is a pull request on resolving the issue#275
https://github.com/Together-Java/TJ-Bot/issues/275
The issue was resolved with adding a parameters to MethodUtils which would provide the tags into the footer for the embeds, also edited the values of 5 classes so they match the parameters for MethodUtils