7 lines
		
	
	
		
			No EOL
		
	
	
		
			284 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			No EOL
		
	
	
		
			284 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| Utils.Webhook = {}
 | |
| 
 | |
| function Utils.Webhook.sendWebhookMessage(webhook,message)
 | |
| 	if webhook ~= nil and webhook ~= "" then
 | |
| 		PerformHttpRequest(webhook, function(err, text, headers) end, 'POST', json.encode({content = message}), { ['Content-Type'] = 'application/json' })
 | |
| 	end
 | |
| end | 
