Jump to content

Dzardys

Members
  • Posts

    1
  • Joined

  • Last visited

1 Follower

Details

  • Gang
    Chanov
  • Location
    Czech Republic
  • Occupation
    Lubomir Volny

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Dzardys's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. Hi, I've been learning scripting recently and I'm struggling right now when trying to send a Discord message using a fetchRemote() function. I think I did nothing wrong when initializing the webhook, but still it doesn't send anything. Is there anyone, who might know the cause of this problem? function testWebhook() local url = "https://discordapp.com/api/webhooks/..." if url then sendOptions = { queueName = "default", connectionAttempts = 3, connectTimeout = 5000, formFields = { content = "test" }, } fetchRemote (url, sendOptions, function()end) else outputDebugString("Webhook not provided."); end end addEventHandler("onResourceStart", getResourceRootElement(), testWebhook) Thanks.
×
×
  • Create New...