Commit 8fa8a6ac authored by Simpy's avatar Simpy 🐹

lib ver check: prevent trying to send when there is no chat type

parent 9dbc8437
......@@ -217,6 +217,8 @@ function lib:SendPluginVersionCheck(message)
ChatType = "GUILD"
if not ChatType then return end
local delay, maxChar, msgLength = 0, 250, strlen(message)
if msgLength > maxChar then
local splitMessage
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment