|
So I have a webhook bot in my server, and I'd like so send typed messages on roblox into the webhook.
In my game, I have a GUI button that sends Fires an event that will send the text of TextBox 1 into discord
any way this could work? |
|
|
Basically I have this rn
function OnClicked()
local Player = game.Players.LocalPlayer;
game.ReplicatedStorage.DiscordShout.Value = ""..script.Parent.Parent.Text.Text
game.ReplicatedStorage.Events.DiscordShoutEvent:FireServer(Player)
end
script.Parent.MouseButton1Click:connect(OnClicked)
that's the local script |
|
spinywindJoin Date: 2012-01-26 Post Count: 3580 |
So you want to log players chats?
#Code print("Look behind you huehuehuehue") |
|
|
if you're just going to log them then save the date along with the player who spoke and what they said in a datastore, if you're talking about discord then i have no clue |
|
|
no no I'm not logging
I'm sending the text of a text box to the discord bot |
|
|
spinywindJoin Date: 2012-01-26 Post Count: 3580 |
Ima eat first then make it.
#Code print("Look behind you huehuehuehue") |
|
|
you don't need to make the entire thing if you don't want to lol
If you tell me whats wrong with mine or how to assemble one I can do it |
|
TimeTicksJoin Date: 2011-04-27 Post Count: 27115 |
just grab a free mod discord api
|
|
spinywindJoin Date: 2012-01-26 Post Count: 3580 |
Its fine:
pastebin
.
com
/
xdpkeAXN
Just set this up with locating things and such. The code is finished.
#Code print("Look behind you huehuehuehue") |
|
spinywindJoin Date: 2012-01-26 Post Count: 3580 |
Did it work?
#Code print("Look behind you huehuehuehue") |
|
|
just toying around with it to see if I can make it work |
|
|
spinywindJoin Date: 2012-01-26 Post Count: 3580 |
Just post here if u need help with anything. I usually dont make entire scripts for people but i was feeling generous.
#Code print("Look behind you huehuehuehue") |
|