Hook a Photo
If you haven’t already done so, create a Discord account and log in to your Discord server. Create a new text channel called #photos using the + icon to the right of the Text Channels listing. Edit the #photos channel settings by selecting the sprocket icon to the right of the #photos channel name. From there, select Integrations and click the Create Webhook button.
Give the new webhook a name like PhotoBot and save the changes.
Select the Copy Webhook URL button and store the generated URL to a safe file. Webhooks are fast and lightweight because they don’t require authentication to post messages to a designated channel. That also means anyone with this sensitive webhook URL can do the same thing and spam your channel with unwanted ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access