This module is in a BETA state, there is still work to be done on reconnection logic to prevent duplicate connections or listeners.
The full release version of this module will use a dedicated Companion app associated with Discord and not require every user to create their own individual apps in the Discord Developer Console. This is still waiting on Discord Developer Relations staff to respond to approving of the Companion app.
v1.5.0
- Added a
Send Webhook Messageaction, to assist in creating a Webhook message - Based on the work by @Khepricus in #47 the following has been added:
- New Actions:
Set Input Modeto change between PTT and Voice ActivationPush to Talkto activate/deactivate mic when using PTT modePlay Soundboard Soundto send a Soundboard Sound to the current Voice Channel (note: You still need Discord Nitro to use sounds from other servers)Video - Toggle CameraandVideo - Toggle Screen ShareToggle sending Video/Sharing a screen when in a Voice Channel
- New Feedbacks:
Voice - Self Input ModeIndicating if PTT or Voice Activation is set to control mic activationVoice - Self Mic ActiveandVoice - Other Mic Activea simple feedback alternative to indicate if a users mic is activeVideo - Camera ActiveandVideo - Screen Share Activeindicate if you're currently sending a camera feed or screen share in a Voice Channel
- New Variables:
voice_self_input_mode,voice_self_mic_active,video_camera_active, andvideo_screen_share_active
- Several new Presets covering some of the new Actions and Feedbacks
v1.4.0
- Updated to Node 22, and a new Discord library
- Added OAuth Refresh Token handling
- Added additional logging, and a debug HTTP endpoint
v1.3.1
- Added button options for Rich Presence action
v1.3.0
- Added Rich Presence action. When used it will show the user as playing whatever the name of the app is, as well as optionally show image assets that have been uploaded to the Discord Developer console.
v1.2.3
- Fixed crash when disconnecting from a chat channel while users are speaking
v1.2.2
- Fixed variables bug crashing new Discord instances
v1.2.1
- Fixed variables bug blocking feedback updating
v1.2.0
- Added new variables
voice_user_X_volume,voice_user_X_mute,voice_user_X_self_mute,voice_user_X_self_deaf,voice_user_X_speaking, where X is the users index, nick, or ID - Added new variables for the current speaker
voice_current_speaker_id,voice_current_speaker_nick,voice_current_speaker_number - Added config option for Speaker Delay between 0ms and 10000ms (default 0ms)
- The new Current Speaker system will update
voice_current_speaker_numberwith the most recent speaker if they've been speaking for at least the set delay.voice_user_X_speakingalso uses this same delay.
v1.1.3
- Fixed an issue with errors not correctly logging
- Fixed an issue with packaging by switching to a forked discord-rpc module
v1.1.2
- Fixed an issue creating a new Instance without existing config