Remove debug messages
This commit is contained in:
parent
ee3fe8aecc
commit
72f6d75cda
@ -50,11 +50,9 @@ public class ImageListener implements MessageCreateListener {
|
|||||||
|
|
||||||
if (System.getenv("ENVIRONMENT") != null) {
|
if (System.getenv("ENVIRONMENT") != null) {
|
||||||
// Upload the image(s) to Imgur, store in database, log the stored images.
|
// Upload the image(s) to Imgur, store in database, log the stored images.
|
||||||
System.out.println("PROD environment, uploading");
|
|
||||||
uploadAndStore(event, channel, image);
|
uploadAndStore(event, channel, image);
|
||||||
} else {
|
} else {
|
||||||
// Store the image(s) in database, log the stored images.
|
// Store the image(s) in database, log the stored images.
|
||||||
System.out.println("DEV environment, not uploading");
|
|
||||||
store(event, channel, image);
|
store(event, channel, image);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user