{"_id":"@andrewcturing/discord","name":"@andrewcturing/discord","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@andrewcturing/discord","version":"1.0.0","description":"Pipedream Discord Components","main":"discord.app.mjs","keywords":["pipedream","discord"],"homepage":"https://pipedream.com/apps/discord","author":{"name":"Pipedream","email":"support@pipedream.com","url":"https://pipedream.com/"},"license":"MIT","dependencies":{},"publishConfig":{"access":"public"},"_id":"@andrewcturing/discord@1.0.0","_integrity":"sha512-q3Q/xYUerUW5m8LTUnOvYUq4atJ/hKvMZuoOLVAG7cEgI9o6f23M81OC9MPjmrTjSLkCu2t1BoxVgQ475PBDiQ==","_resolved":"/private/var/folders/ln/bmzl_cmx3yd_vyqtcy0dqhh00000gn/T/6f217162e2b1802acb31423f78b32b73/andrewcturing-discord-1.0.0.tgz","_from":"file:andrewcturing-discord-1.0.0.tgz","_nodeVersion":"17.8.0","_npmVersion":"8.19.1","dist":{"integrity":"sha512-q3Q/xYUerUW5m8LTUnOvYUq4atJ/hKvMZuoOLVAG7cEgI9o6f23M81OC9MPjmrTjSLkCu2t1BoxVgQ475PBDiQ==","shasum":"88fd29a5e92d70987011bdf24b0a8e7bf1a34f98","tarball":"https://registry.npmjs.org/@andrewcturing/discord/-/discord-1.0.0.tgz","fileCount":12,"unpackedSize":13597,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHzh/XhiTXmov3YiC06nMeSF+kA0q8UT2gMFEybgJJYQCIAU0720YEnHbkM09zC3k07rktdsncRAE5EF81/ZB+j/z"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEkbXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrwPw/6AwkQ1lyYqR2cuo1FhgM98jwU1cgYz7Vf5p3vJ9zgPoGVeye0\r\nOrAT4tichBeFIrr4HWttxkUOWIbn1NG5NF+RpL/OeW1CNZn7x1ryLJ7xI7lA\r\niKc10a5S+pBnNEoAFI35ogf06DQll51QDbHxObd5AmYZKyzDQOEMvLFOevnS\r\nh260/XS1VJqueCp9M0Vm6YXSntBUcoSt5wecJxuVNnntP5MygN9lH+uiKdwI\r\n5Zlqw91d1DJCoNfaNwplFZg0HgXxSti911ajiuQ5kmysfkbWhlfmzwYJMa+o\r\n4i+uJONxTheJ0VKZlkn44bvtwECQjvnOw33ZUEpbB4rigkchsasnJaK6c5fb\r\nb6a3C7dQhkvKTUysJh9XBeS9iJRqD8sqbjZTayuqyny1SM9k9S38pW08qQ/x\r\nI3DQX0DIN6a/fuglv2K+b3J+nNGdhlmE+lQ7T3g3ETTE8ilO8pnBdFcgSXPe\r\nTWMwi6t6u1SPjfwd9IoMrTyDqGOH4IGv3gTpGaZtuCah2OIQDjWmsoaEnVfp\r\nA02l42g3c8zxtTm0evYBcwcPPdcuqxcMmiBKcurufXsGKpfzwYf431IN4VE8\r\nQnDQAzqbH9h5yLTw/5FYdU2uxtL6VljBEFbLmq4X2dx+LwTQ9XXg3v1pgyBK\r\n+tkOCii+zbAXkl/usUyvg235QcBqxM/PPug=\r\n=NH7g\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andrewcturing","email":"andrew.c@turing.com"},"directories":{},"maintainers":[{"name":"andrewcturing","email":"andrew.c@turing.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/discord_1.0.0_1662142167522_0.6289119391786195"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-02T18:09:27.477Z","1.0.0":"2022-09-02T18:09:27.719Z","modified":"2022-09-02T18:09:27.862Z"},"maintainers":[{"name":"andrewcturing","email":"andrew.c@turing.com"}],"description":"Pipedream Discord Components","homepage":"https://pipedream.com/apps/discord","keywords":["pipedream","discord"],"author":{"name":"Pipedream","email":"support@pipedream.com","url":"https://pipedream.com/"},"license":"MIT","readme":"# Overview\n \nThe Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use [Pipedream workflows](/workflows/) to perform common Discord [actions](#workflow-actions), or [write your own code](/code/) against the Discord API.\n \n# Getting Started\n \nYou can install the Pipedream Discord app in the [Accounts](https://pipedream.com/accounts) section of your account, or directly in a workflow.\n\n<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/IaKs8oA1-5g\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n\nNot sure if you need to use the Discord or the Discord Bot integration for your workflow? Here's are the general similarities and differences:\n\nDiscord and Discord Bot actions and triggers _can_ both:\n\n* Listen to events on Discord channels, guilds, etc.\n* Perform actions like sending messages, managing channels, and members\n\nHowever the Discord integration will perform actions with the official Pipedream Discord bot.\n\nUsing the Discord Bot integration will use a custom bot instead, with it's own name and photo.\n \n### Accounts\n \n1. Visit [https://pipedream.com/accounts](https://pipedream.com/accounts).\n2. Click on the **Click Here To Connect An App** button in the top-right.\n3. Search for \"Discord\" among the list of apps, and select it.\n4. This will open a new window asking you to allow Pipedream access to your Slack workspace. Choose the right workspace where you'd like to install the app, then click **Allow**.\n5. That's it! You can now use this Discord account in any [actions](#workflow-actions), or [link it to any code step](/connected-accounts/#connecting-accounts).\n \n### Within a workflow\n \n1. [Create a new workflow](https://pipedream.com/new).\n2. Select your trigger (HTTP, Cron, etc.).\n3. Click on the **+** button below the trigger step, and search for \"Slack\".\n4. Select the **Send a Message** action.\n5. Click the **Connect Account** button near the top of the step. This will prompt you to select any existing Discord accounts you've previously authenticated with Pipedream, or you can select a **New** account. Clicking **New** opens a new window asking you to allow Pipedream access to your Discord account. Choose the right guilde where you'd like to install the app, then click **Allow**.\n6. That's it! You can now connect to the Discord API using any of the Discord actions within a Pipedream workflow.\n \n# Troubleshooting\n \nIf you have issues with this integration, please join our public Slack and ask for help.","readmeFilename":"README.md"}