Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Commit

Permalink
skip over if no new activity
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasptsch committed Mar 31, 2022
1 parent 6268a1c commit 08fb9f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/events/presenceUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export const presenceUpdate = new Event()
)
return;
const { channelId } = newPresence.member.voice;
if (!channelId) {
return;
}
const dynamicaSecondary = await new DynamicaSecondary(
newPresence.client,
channelId
Expand Down

0 comments on commit 08fb9f6

Please sign in to comment.