local YASAK = {"amk", "allah"}
local function startsWith(str, start)
    return str:sub(1, #start) == start
end
local function containsBlacklistedWord(message)
    if startsWith(message, "https://") or startsWith(message, "discord.gg") then
        return true
    end
    for _, word in ipairs(YASAK) do
        if string.match(message, "%f[%a]" .. word .. "%f[%A]") then
            return true
        end
    end
    return false
end
RegisterServerEvent('gcPhone:twitter_postTweets')
AddEventHandler('gcPhone:twitter_postTweets', function(_, _, message, _)
    if containsBlacklistedWord(message) then
        DropPlayer(source, ' YASAKLI KELIME KICK ')
    end
end)