Skip to content
SmartBots

Webhooks available at Bots Playground

Incoming webhooks are now available at Bots Playground, giving your scripts an ability to receive data directly from your servers:

const webhook = await http.requestWebhook();

Bot.on("playground_webhook", (event) => {
  console.log("Data received:", event);
});

This addition opens up a wide range of possibilities:

  • receive remote commands,
  • integrate with third-party services (like Discord),
  • create two-way communication bridges between your servers and Second Life.

How it works

Update introduces a new function http.requestWebhook() and new event: playground_webhook. (if you’re familiar with LSL: they work somewhat similar to LSL llRequestSecureURL and LSL http_request event).

Check our Developer Documentation for more info:

Discussion

0

No comments yet. Start the conversation.