Skip to content

Hellohook

Nightscape Coffee edited this page Jan 1, 2023 · 21 revisions


⚠️ NOTE: This page is outdated.



Drafting your Webhook Message

When you are done on Discohook:

  • Scroll to the bottom
  • Click "JSON Data Editor"
  • Click "Copy to Clipboard"
  • Paste it into the bot command

Disclaimer: Discohook is a website that makes creating webhooks easy. Not affiliated with this cog. Image from Unsplash.


Variables

https://&&USERAVATAR&& for user profile picture url

https://&&USERMENTION&& for user mention (<@1234567890123456>)

  • User mentions can only be used in Content, or the Embed's Body Description, or they won't appear correctly.

https://&&USERNAME&& for username as text (Clyde)

https://&&USERNAME1234&& for username#1234 as text (Clyde#1234)


Adding https:// in front is required.
Discohook will not export the needed JSON if it says "Invalid URL" (even though the bot will make them valid at runtime), so this is a workaround.


Examples

After you save them into the bot, when a new user joins, the variables will be replaced with the new user's info.


FAQ

  • Hellohook still works, but Greet Message is empty!
    Note for old users: Data has been upgraded to V2 system as of late 2021. Your data is saved. Greet Message will show as empty until a new user joins, which will activate the data migration process automatically. See [p]hellohook set for more info.