ville-solja / kukkohelper

Kylmät kukot discord bot
3 stars 1 forks source link

Twitch viewers to discord Voip #21

Closed ville-solja closed 5 years ago

ville-solja commented 5 years ago

Streamer wants to have a discord server invite link with limited access in order to have them able to join the voip.

Limitations should be: -Created instant invite is temporary in nature -Invite lasts for only a set time (6h) -Users created with the link have Role-Watcher right only granting them visibility on certain channels -Bot commands aren't accessible on watcher channels

Proposed flow:

  1. Streamer is starting and wants to create invite link (!get watchers)
  2. New link is created and posted to channel (Link id/name is added to a watch list that is being looper every 5sec for "times used" count increases)
  3. User joins and on_member_join event is triggered
  4. Bot checks which invite had increase in count (defaults to regular user, but bot should be online since the link was requested successfully)
  5. User has access to stream channels
  6. Fun
ville-solja commented 5 years ago

This was already created in previous feature patch