Discord API (easy to use)

So I made this DiscordAPI :

I was bored xD

How to use it :

I created a “How to use” file in the folder, but here is it again :

--====HOW TO USE====--
--[[
	THANK YOU FOR USING MY DISCORD_API
	
	How to use it
	
	--First write : 
	
	local dc = require(game:GetService("InsertService"):LoadAsset("4782108605"):GetChildren()[1])
	
	--THIS IS THE MODULE FOR THE API
	
	--SECOND STEP :
	
	--You need to connect with your discord server so you need to write :
	
	dc.Connect(<PUT YOUR WEBHOOK HERE>)
	
	--Put in <PUT YOUR WEBHOOK HERE> your webhook (example : https://discordapp.com/api/webhooks/123445/TESTETSTESTTTTETSETTETESTETSET)
	
	THIRD STEP :
	
	--If you want to send a message you need to write :
	
	dc.SendMessage("NAME","ICON","TEXT")
	
	Put in "NAME" the Name of your "Bot" 
	Put in "ICON" the Icon_URL of your "Bot" (If you dont want an icon then just put "" in there)
	Put in "TEXT" the text that you want :D
--]]
1 Like