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

Adding discord markdown to something in a textbox when it's sent via webhook?

Asked by 4 years ago

Alright, I wanna stop @everyone @here and <@399771815385235477> and all my other staff pings, so I wanna use discord markdown like this (single line codeblock) Here's my code.

script.Parent.MouseButton1Click:Connect(function()
local event = game.ReplicatedStorage:WaitForChild("SendEvent")
local text = script.Parent.Parent:WaitForChild("TextBox")
local question = script.Parent.Parent:WaitForChild("question")
local appfor = script.Parent.Parent.Parent.ApplicationName
event:FireServer(text.Text,question.Text,appfor.Text)--Right here is what I'm talking about

what I'm talking about is text.Text, is there a way to do + to it or something so I can add my own stuff to it? I know there's '...""...', but that doesn't seem to work for me.

0
Randomly I have just released an updated discord module which inlcudes role mention managment https://devforum.roblox.com/t/discord-webhook-module/526589 User#5423 17 — 4y

Answer this question