videoEditBot icon indicating copy to clipboard operation
videoEditBot copied to clipboard

`prepare_VideoEdit()` spammed indefinitely when no images are found

Open Iinksafe opened this issue 2 years ago • 6 comments

In the image, IMG_20230627_195341.jpg this error message is spammed indefinitely when the bot cannot find any image or video to edit.

IMG_20230627_195714.jpg

Iinksafe avatar Jun 27 '23 17:06 Iinksafe

I have no clue how this happened, this should prevent it from even seeing itself in circumstances like this

if message.author.id == bot.user.id and not '║' in message.content:
        return

GanerCodes avatar Jun 27 '23 18:06 GanerCodes

I have no clue how this happened, this should prevent it from even seeing itself in circumstances like this

if message.author.id == bot.user.id and not '║' in message.content:
        return

Probably.

But the last part of the check can also be:

... and '║' not in message.content: ...

Iinksafe avatar Jun 28 '23 00:06 Iinksafe

I have no clue how this happened, this should prevent it from even seeing itself in circumstances like this

if message.author.id == bot.user.id and not '║' in message.content:
        return

Probably.

But the last part of the check should rather be:

... and '║' not in message.content: ...

image

GanerCodes avatar Jun 28 '23 01:06 GanerCodes

Apologies, I was wrong. I have edited the original message.

Iinksafe avatar Jun 28 '23 12:06 Iinksafe

this still broke?

GanerCodes avatar Sep 11 '23 13:09 GanerCodes

Apologies for the delay.

I'll check if the issue still persists as I recently removed the bot because we didn't use it that much. I will keep you updated.

Thank you. Link

Iinksafe avatar Sep 16 '23 22:09 Iinksafe