Example
Post a message when someone joins the music channel, or count minutes spent in voice.
How to use one: go to Events, press New Event, pick the event from the list, then add blocks under it.
Variables every voice event has
- About the person
- About the server and voice channel
The events
When a member joins a voice channel
When a member joins a voice channel
When it runs: someone hops into voice.Variables: the shared ones above.Build idea: say hi in a text channel, or save the time they joined to count their voice minutes.
When a member leaves a voice channel
When a member leaves a voice channel
When it runs: someone leaves voice.Variables: the shared ones above.Build idea: work out how long they stayed (see the tip below).
When a member switches voice channels
When a member switches voice channels
When it runs: someone moves from one voice channel to another.Variables: the shared ones above. Plus:
When a user starts or stops streaming in voice
When a user starts or stops streaming in voice
When a user starts streaming in voice runs when someone starts sharing their screen. When a user stops streaming in voice runs when they stop sharing.Variables: the shared ones above.Build idea: tell everyone that someone is live in voice.
When a member is server muted or unmuted
When a member is server muted or unmuted
When it runs: a moderator mutes or unmutes them.Variables: the shared ones above.Build idea: log who was muted in your log channel.
When a member self mutes or self unmutes
When a member self mutes or self unmutes
When it runs: they mute or unmute their own microphone.Variables: the shared ones above.
When a member is server deafened or undeafened
When a member is server deafened or undeafened
When it runs: a moderator deafens or undeafens them.Variables: the shared ones above.
When a member self deafens or self undeafens
When a member self deafens or self undeafens
When it runs: they deafen or undeafen themselves.Variables: the shared ones above.
Counting voice minutes: save
{time_now_unix} in a User variable when someone joins, then when they leave, work out {time_now_unix} take away that number and divide by 60. That’s how many minutes they stayed.