Today I present to you a new type of discord command. You have the normal discord command that puts it in the chat, but this one is a little different…
This is a picture of what it will do:
Command
The command for this script is normal /discord
Here is an idea make a NUI Display the discord for a certain amount of time on screen then fade away, that way they can see the discord and hey if you wanted added a button they can click to copy the discord text. Now thats advanced and helpful, I understand its easier to make it a notification but Honestly its annoying when people have to keep doing /discord to see the url over and over again to type it in so they can go there. a quick button to allow them to have the text already clapboarded to paste it in a browser would be better. Just a suggestion.
------------ Made By caprancTV ------------
message = true
DisMessage = "Enter your discord here"
local DiscordMSG = "discord"
function ShowNotification(text)
SetNotificationTextEntry("STRING")
AddTextComponentString(text)
DrawNotification(false, false)
end
RegisterCommand(DiscordMSG, function(p, g)
if message then
ShowNotification(DisMessage)
end
end)
message = true
DisMessage = “Enter your discord here” – Change this to your discord invite, [REMEMBER IT MUST BE A PERMINENT INVITE]
local DiscordMSG = “discord”
function ShowNotification(text)
SetNotificationTextEntry(“STRING”)
AddTextComponentString(text)
DrawNotification(false, false)
end
RegisterCommand(DiscordMSG, function(p, g)
if message then
ShowNotification(DisMessage)
end
end)