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

feat(Soundboard): Add Soundboard Sound functionality #1550

Merged
merged 29 commits into from
Oct 19, 2024
Merged

feat(Soundboard): Add Soundboard Sound functionality #1550

merged 29 commits into from
Oct 19, 2024

Conversation

bsian03
Copy link
Collaborator

@bsian03 bsian03 commented Sep 24, 2024

Note: Currently there is an incompatibility with storing soundboard sounds in cache, as there is no id in the soundboard sound structure but required in Collection.

The PR in it's current state (2024-09-25T03:41Z) will not work, as gateway logic is written as if the collection were to exist

#1547 to be folded into this PR once complete

@babiabeo
Copy link
Contributor

Perhaps add a getter for id that returns soundID? (Though some people might think it is redundant)

get id() {
  return this.soundID;
}

@bsian03
Copy link
Collaborator Author

bsian03 commented Sep 24, 2024

Sure, however that still doesn't solve the main issue of not being able to properly store the data directly into the collection

I am discussing this with abal to see what our options are

* @arg {String?} [options.emojiName] The name of the relating default emoji (mutually exclusive with options.emojiID)
* @arg {String} [options.name] The name of the soundboard sound (2-32 characters)
* @arg {Number?} [options.volume] The volume of the soundboard sound, between 0 and 1
* @arg {String} [options.reason] The reason to be displayed in audit logs
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

separate this into its own argument?

@bsian03 bsian03 mentioned this pull request Sep 25, 2024
55 tasks
@bsian03 bsian03 marked this pull request as ready for review October 12, 2024 22:48
@bsian03 bsian03 merged commit b69783e into dev Oct 19, 2024
@bsian03 bsian03 deleted the soundboard branch October 19, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants