Fix issue with hiding afk timer and make it whisper the player
This commit is contained in:
@@ -3,6 +3,7 @@ function(e)
|
||||
local timeToKick = aura_env.KickTime - GetTime()
|
||||
if timeToKick > 0 and timeToKick < 60 then
|
||||
WeakAuras.ScanEvents("PLAY_SOUND", "Interface\\Sounds\\quack.ogg")
|
||||
SendChatMessage("QUACK", "WHISPER", nil, UnitName("player"))
|
||||
end
|
||||
return timeToKick > 0
|
||||
return aura_env.KickTime > 0
|
||||
end
|
||||
Reference in New Issue
Block a user