mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
remove console logs
This commit is contained in:
parent
2ea818f30f
commit
c051946d89
3 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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.")] })
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue