Fixed the fact that the importer id and the guild id were flipped
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
bcf1bb766d
commit
c2a6080cfe
@ -78,8 +78,8 @@ public class Download extends Command {
|
||||
List<SubtitleBlock> blocks = new SubtitleParser().parseSRT(
|
||||
subs.getData().get(0).getContentAsString(subtitleInfo.get().getEncoding()));
|
||||
SubtitleLineManager.importSubtitleLines(blocks, language, movie,
|
||||
event.getGuildId().isPresent() ? event.getGuildId().get() : null,
|
||||
event.getMember().isPresent() ? event.getMember().get().getId() : null);
|
||||
event.getMember().isPresent() ? event.getMember().get().getId() : null,
|
||||
event.getGuildId().isPresent() ? event.getGuildId().get() : null);
|
||||
embed.setColor(Color.MEDIUM_SEA_GREEN).setDescription("Everything went well. " +
|
||||
"Congratulations and thank you for your contribution!");
|
||||
embed.addField("You imported", blocks.size() + " lines into my database", false);
|
||||
|
Loading…
Reference in New Issue
Block a user