- discord.js@^12.5.0
- hastebin-gen@^2.0.0
discord-send-embed-code-to-webhook
A customizable atom package used to easily send code extracts in an embed message to Discord using webhooks. Originally made by KyStolos.
How to use the package
Setup your webhook
- Go to your package settings
Packages->Settings View->Manage package - Find the
discord-send-embed-code-to-webhookpackage, click onSettings - Paste your webhook URL in the config field
- Modify the embed title, color, footer text, image and other options to your liking.
Post your code to your Discord
- Select the code you want to share on Discord in your editor
- Press CtrlQ to send it to your webhook
Note: This is a standalone package. You can either install discord-send-**embed**-code-to-webhook or discord-send-code-to-webhook. Do not install both packages or they won't work correctly!