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

Issue: Bot sometimes logs GIFs and URLs as message updates #24

Open
mlhynfield opened this issue May 17, 2024 · 2 comments
Open

Issue: Bot sometimes logs GIFs and URLs as message updates #24

mlhynfield opened this issue May 17, 2024 · 2 comments

Comments

@mlhynfield
Copy link

mlhynfield commented May 17, 2024

Occasionally when running this bot and sending a GIF or URL in the target server the bot will log this, even though nothing was manually updated. My best guess is that it sees what Discord does automatically (e.g. rendering the link to the GIF into the GIF itself or adding an embed for a URL) as a message update, and it simply sends the identical source and updated message as a message update log. A simple example was https://github.com, which renders in a text channel with an accompanying embed, where the Logger Bot logged a source message of https://github.com and an updated message of https://github.com as well. Any chance there's a simple fix for this?

@mlhynfield
Copy link
Author

I should emphasize that this is not universal; in fact, if I send the same message again (https://github.com), it seems that the message update log is no longer triggered, but some other URLs and GIFs trigger the log. Maybe that has to do with a caching process, I'm really not sure.

@devdeem
Copy link
Owner

devdeem commented May 17, 2024

@mlhynfield As I already wrote in another open issue, I haven't updated this code for over half a year because I don't have time for it, so the code is quite outdated and may not work, you can fork it and fix it so that everything works as it should.

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

No branches or pull requests

2 participants