-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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: support voiceChannelEffectSend
event
#9308
base: v13
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@jaw0r3k is attempting to deploy a commit to the discordjs Team on Vercel. A member of the Team first needs to authorize it. |
get channel() { | ||
return this.guild.channels.cache.get(this.channelId) ?? null; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
User getter See 9228 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just realized this doesn't extend Base, would that be possible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just realized this doesn't extend Base, would that be possible?
Idk structure was copied from jiralite pr lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About user getter i wasnt sure
its a guild object so like e.g. voice state it doesnt have user
Co-authored-by: Tetie <tjvssr@gmail.com>
Please describe the changes this PR makes and why it should be merged:
🤖 Generated by Copilot at 0c36226
Summary
🎙️🎭🚀
This pull request adds a new feature to the discord.js library that allows listening for voice channel effects, such as emoji reactions, sent by users. It defines a new event, a new structure, a new action, and a new handler for the feature. It also updates the
Constants.js
,ActionsManager.js
, andindex.js
files to support the feature.Walkthrough
VoiceChannelEffectSendAction
class that emits avoiceChannelEffectSend
event on the client with a newVoiceChannelEffect
structure (link)VOICE_CHANNEL_EFFECT_SEND
opcode from the gateway (link, link)VoiceChannelEffect
class that represents an effect used in a voice channel, such as an emoji reaction (link, link)voiceChannelEffectSend
event to theConstants.js
file (link, link, link)createEnum
function (link, link)Status and versioning classification: