/api2discordbot

Primary LanguageJavaScriptMIT LicenseMIT

api2discordbot

Setup

npm install

Create a .env file inside the folder. Then grab your discord token and put DISCORD_BOT=TOKENHERE inside it.

Development

npm run dev

Usage

/api/v1/sendmessage - POST - Takes: {channel_id = idHere, other = messageArrayDataHere}