wakatime / discord-wakatime

BetterDiscord plugin for automatic time tracking and stats about your Discord usage
https://wakatime.com/discord
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

No time registered when attending a call #3

Open manumonti opened 9 months ago

manumonti commented 9 months ago

When attending a call or meeting, even when the host is sharing its screen and the focus is on that window, the plugin stops registering the time.

I'm using MacOs, discord wakatime plugin v1.0.1.

alanhamlett commented 9 months ago

It only tracks when clicking currently:

https://github.com/wakatime/discord-wakatime/blob/bb8ad68c9801cfab07923cef7b35409d96b47453/discord-wakatime.plugin.js#L24

That's to prevent accidentally tracking time when you're not actually using Discord, which could happen if we use a setTimeout and Discord is focused but you're not at the computer.

manumonti commented 9 months ago

Thanks for the reply!

Yes, it makes sense.

Any chance to register time when, for instance, a call or a meeting is ongoing?