Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

is it possible to do the opposite of this?

Asked by 7 years ago
Edited 7 years ago

I can send messages to discord from Roblox using

function filteringFunction.OnServerInvoke(player, msg)
    local payload = HTTP:JSONEncode({
        content = CHAT:FilterStringForBroadcast(msg,player),
        username = player.Name.." - (#"..player.UserId..")"
    })

    HTTP:PostAsync(webhook, payload)
    return "Feedback recieved!"
end

but is there anyway I can do the opposite & get the messages from discord to Roblox? like :GetAsync or something? please help me

1 answer

Log in to vote
0
Answered by 7 years ago

Discord has a unique API for doing this. Not sure exactly how it works, but you can find it here.

Ad

Answer this question