File tree Expand file tree Collapse file tree
src/main/java/dev/zenith/ppapi/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,5 +21,6 @@ public boolean validateAccountOwner(final CommandContext ctx) {
2121 @ Override
2222 public void logEmbed (final CommandContext commandContext , final Embed embed ) {
2323 CommandOutputHelper .logEmbedOutputToTerminal (embed );
24+ CommandOutputHelper .logEmbedOutputToDiscord (embed );
2425 }
2526}
Original file line number Diff line number Diff line change 55import com .google .common .cache .CacheBuilder ;
66import com .zenith .Globals ;
77import com .zenith .command .api .CommandContext ;
8+ import com .zenith .command .api .CommandOutputHelper ;
89import dev .zenith .ppapi .api .model .ApiErrorResponse ;
910import dev .zenith .ppapi .api .model .PearlLoadRequest ;
1011import dev .zenith .ppapi .api .model .PearlLoadResponse ;
@@ -153,6 +154,8 @@ private CommandContext executeCommand(String command) {
153154 LOG .info ("PP API executed command: {}" , command );
154155 Globals .COMMAND .execute (context );
155156 context .getSource ().logEmbed (context , context .getEmbed ());
157+ CommandOutputHelper .logMultiLineOutputToTerminal (context .getMultiLineOutput ());
158+ CommandOutputHelper .logMultiLineOutputToDiscord (context .getMultiLineOutput ());
156159 return context ;
157160 }
158161
You can’t perform that action at this time.
0 commit comments