discordMsg.php


Sends a message to your Discord server. WEBHOOK_URL is your Discord webhook, MESSAGE is your message to send, NAME is the name you’d like to display on the webhook, PICTURE_URL is the picture you want as the avatar, enter true or false for tts, and SUCCESS_MESSAGE is the message for Nightbot to return upon a successful post.

The Nightbot command is:

$(urlfetch https://rokbot.xyz/discordMsg.php?url=WEBHOOK_URL&content=MESSAGE&username=NAME&avatar_url=PICTURE_URL&tts=TRUE_OR_FALSE&success_msg=SUCCESS_MESSAGE)


Leave a Reply

Your email address will not be published. Required fields are marked *