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

[Feature] - Saving transcription as a file. #282

Open
Vip3rLi0n opened this issue Oct 20, 2023 · 5 comments
Open

[Feature] - Saving transcription as a file. #282

Vip3rLi0n opened this issue Oct 20, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@Vip3rLi0n
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I just want to have an option of saving the transcription as a file in my server instead of uploading it, since when it tries to upload the transcription, it always lags out, causing duplicate channel being created and making the bot not responsive during that period.

Describe the solution you'd like
Basically in src/utils/close.ts, add another function where if the configured function in config.jsonc for saveTranscriptionAsFile: true, it will save the file in the bot installation location folder, or it can be configured via transcriptionFilePath: /your/path/here

Describe alternatives you've considered
By using https://github.com/ItzDerock/discord-html-transcripts library, those feature can be implemented easily.

Additional context
Forcing the self-hoster to upload transcription when its enabled or by option when clicking Save Transcription button is not ideal as there is no option to save it in the hosting location. Also, instead of relying on upload, transcription can be saved easily and faster.

@Vip3rLi0n Vip3rLi0n added the enhancement New feature or request label Oct 20, 2023
@Sayrix
Copy link
Owner

Sayrix commented Oct 20, 2023

Uploading transcripts to a server is the best way to make them accessible to everyone (PC, Mac, smartphone, tablet). What's more, uploading transcripts to a remote server doesn't slow down ticket closing, as the file uploaded is only about ten KB, excluding attachments. However, you say that when you close tickets there are problems, and I can help you with that.

@Sayrix Sayrix closed this as not planned Won't fix, can't repro, duplicate, stale Oct 20, 2023
@zhiyan114
Copy link
Collaborator

idk, I feel like uploading an HTML file as discord attachment wouldn't be that bad and even helps you save bandwidth. The only downside is that user will now need to download the file to access it oppose to direct access via a link.

@Vip3rLi0n
Copy link
Author

I usually use transcript as a log for every ticket, instead of making it available for users. Hence having this feature is necessary as there is multiple hierarchy in a team and the one that read those transcript are definitely not for normal people. But I guess I'll have to modify it myself as its not planned nor will be made in the future.

@LoneWolfHT
Copy link

I don't need transcripts to be accessible to everyone, but I'd like to log them to a file in case I need to look at them again for some reason. I don't want to upload them to a third party site. Is there any option for this yet?

@zhiyan114
Copy link
Collaborator

@Sayrix I think we should consider adding this to the re-write. It just makes more sense to allow more advanced user to control how the transcript is provided.

Since we're in the process of re-write, we can just add this to the queue.

@Sayrix Sayrix reopened this Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants