remove console logs

This commit is contained in:
derpystuff 2022-06-22 23:29:03 +02:00
parent 2ea818f30f
commit c051946d89
3 changed files with 0 additions and 4 deletions

View file

@ -19,7 +19,6 @@ module.exports = {
if(!args.text) args.text = ""
try {
let mkswt = await flag(image)
console.log(mkswt.body)
return editOrReply(context, { content:"ww", files: [{
filename: "makesweet.gif",
value: mkswt.body

View file

@ -18,8 +18,6 @@ module.exports = {
let image = await getRecentImage(context, 50)
if (!image) return editOrReply(context, { embeds: [createEmbed("warning", context, "No images found.")] })
console.log(image)
let ocr = await googleVisionOcr(context, image)
if(ocr.response.body.text.length == 0) return editOrReply(context, { embeds: [createEmbed("warning", context, "No text detected.")] })

View file

@ -86,7 +86,6 @@ module.exports.getRecentVideo = async function(context, limit) {
}
function validateAttachment(attachment, type){
console.log(attachment)
let allowedTypes = attachmentTypes[type]
if (attachment.contentType && allowedTypes.includes(attachment.contentType)) { // discord attachment
return true