diff --git a/src/main/java/me/TechsCode/TechDiscordBot/util/Plugin.java b/src/main/java/me/TechsCode/TechDiscordBot/util/Plugin.java index 5d72a8cc..d325deb6 100644 --- a/src/main/java/me/TechsCode/TechDiscordBot/util/Plugin.java +++ b/src/main/java/me/TechsCode/TechDiscordBot/util/Plugin.java @@ -104,7 +104,7 @@ public File getBannerAsFile() { BufferedImage bufferedImage = new BufferedImage(960, 540, BufferedImage.TYPE_INT_ARGB); Graphics2D bGr = bufferedImage.createGraphics(); - bGr.drawImage(scaled, 0, 0, null); + bGr.drawImage(scaled, 0, (int) Math.round(540 - dim.getHeight()), null); bGr.dispose(); File file = new File(getRoleName().toLowerCase() + "_banner.png");