Extra logging for image creation

main
Mari 7 months ago
parent 590eda8dc8
commit df61a3fdf5
  1. 2
      src/commands/base.ts

@ -320,6 +320,8 @@ export abstract class AbstractCharacterStatusCommand extends SlashCommand {
topCoordinates[i] = top; topCoordinates[i] = top;
totalHeight[polarity] = top + height; totalHeight[polarity] = top + height;
} }
console.log(`Left height: ${totalHeight[0]} / Right height: ${totalHeight[1]}`)
console.log(`Left width: ${maxWidth[0]} / Right width: ${maxWidth[1]}`)
const result = Sharp({ const result = Sharp({
create: { create: {
background: '#00000000', background: '#00000000',

Loading…
Cancel
Save