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

Make the attachment filename unique and identifiable #286

Merged
merged 2 commits into from
Jan 17, 2025
Merged

Conversation

ludeeus
Copy link
Member

@ludeeus ludeeus commented Jan 16, 2025

Currently, all attachments posted by the discord bot are named "message.txt".
This is not great and results in a lot of not easily identifiable files (generally "message (3566782).txt).

This PR changes the name to be constructed based on who posted and also the message ID.

Before:
2025-01-16_07-26-30

After:
2025-01-16_07-26-13

Copy link
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 👍

../Frenck

@frenck frenck merged commit fec6130 into main Jan 17, 2025
4 checks passed
@frenck frenck deleted the unique-file-name branch January 17, 2025 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants