ScriptUO
Scripting Resources & Utilities => Orion UO Client => Orion UO Scripts => Topic started by: Bulldog on May 20, 2022, 07:18:05 AM
-
Quick function that will post some text into a Discord bot server
function testDiscord()
{
// Discord
var bot = "https://discord.com/api/webhooks/"; // Your Webhook url goes here
var charName = Player.Name();
var paramText = "username="+charName+"&content=@everyone "+charName+" just made dinner";
Orion.Wait(100);
Orion.HttpPost(bot, paramText);
Orion.Wait(1000);
}