Page
https://github.com/interactions-py/interactions.py/blob/stable/docs/src/Guides/23%20Voice.md#voice-recording
Problem description
In the example of the usage of the voice recording feature there should be specific different files created for different user which gets saved by their user ids
await ctx.send(files=[interactions.File(file, file_name="user_id.mp3") for user_id, file in voice_state.recorder.output.items()])
The problem lies in the name of the file file_name="user_id.mp3" which should use the formatted string as such ile_name=f"{user_id}.mp3"
Suggested changes
await ctx.send(files=[interactions.File(file, file_name=f"{user_id}.mp3") for user_id, file in voice_state.recorder.output.items()])
I can create a PR if the issue gets assigned to me :)
Additional context
No response
Page
https://github.com/interactions-py/interactions.py/blob/stable/docs/src/Guides/23%20Voice.md#voice-recording
Problem description
In the example of the usage of the voice recording feature there should be specific different files created for different user which gets saved by their user ids
The problem lies in the name of the file
file_name="user_id.mp3"which should use the formatted string as suchile_name=f"{user_id}.mp3"Suggested changes
I can create a PR if the issue gets assigned to me :)
Additional context
No response