bitfocus / companion-module-discord-api

MIT License
5 stars 2 forks source link

Adding an action and preset to leave the currently active Voicechannel #18

Closed JMLutra closed 1 year ago

JMLutra commented 1 year ago

Resolving one part of my feature request #17 I sadly haven't worked with ts ever before so I hope everything checks out.

thedist commented 1 year ago

Looks good to me, the only thing I'm going to add is that the interface for the action should have options: Record<string, never>, as even if the action doesn't require any options there'll still be an options object on callback that'll just be empty.