Skip to content

Commit

Permalink
Fallback to /emote
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketho committed Oct 20, 2020
1 parent 0c79a7d commit ecd1777
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions SimpleDing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,12 @@ function f:TIME_PLAYED_MSG(...)
S.LevelTime = curTPM2 + (S.totalTPM - totalTPM2)
local text = LevelText()

if db.ChatSay and CanSendChatMessage() then
SendChatMessage(text)
if db.ChatSay then
if CanSendChatMessage() then
SendChatMessage(text)
else
SendChatMessage(text, "EMOTE")
end
else
RaidNotice_AddMessage(RaidWarningFrame, text, {r=1, g=1, b=0})
end
Expand Down

0 comments on commit ecd1777

Please sign in to comment.