Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare_VideoEdit() spammed indefinitely when no images are found #63

Open
Iinksafe opened this issue Jun 27, 2023 · 6 comments
Open

prepare_VideoEdit() spammed indefinitely when no images are found #63

Iinksafe opened this issue Jun 27, 2023 · 6 comments

Comments

@Iinksafe
Copy link

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

@GanerCodes
Copy link
Owner

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

@Iinksafe
Copy link
Author

Iinksafe commented Jun 28, 2023

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: ...

@GanerCodes
Copy link
Owner

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

@Iinksafe
Copy link
Author

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

@GanerCodes
Copy link
Owner

this still broke?

@Iinksafe
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants