Skip to content

Commit

Permalink
Changed EmbedManager constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
dkim19375 committed Jan 23, 2021
1 parent 7457f01 commit 40aee8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
compileJava.options.encoding 'UTF-8'

group 'me.dkim19375'
version '1.2.0'
version '1.2.1'

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public EmbedManager(final @Nullable String heading, final @Nullable String headi
embedBuilder.setTitle(title, titleURL);
}

public EmbedManager(final @Nullable User user, final @Nullable Color color, final @Nullable String cmd,
final @Nullable String title) {
public EmbedManager(final @Nullable String title, final @Nullable Color color, final @Nullable String cmd,
final @Nullable User user) {
if (user != null) {
embedBuilder.setAuthor(user.getName(), null, user.getAvatarUrl());
}
Expand Down

0 comments on commit 40aee8b

Please sign in to comment.