Send messages to a Discord Server Channel using PHP. Change the variables to customize the code.

php dev.to

Send messages to a Discord Server Channel using PHP. Change the variables to customize the code. $webhook_url = "https://discord.com/api/webhooks/00000000000000000000/{TOKEN}"; $user_name = "SENDING USER"; $msg_content = "Message Content!"; $avatar_url = "http://dod.gov/avatar.jpg"; $msg_description = "This is the message body!"; $msg_color = "15844367"; $msg_footer = "This is the footer text!"; $handle = cur

Read Full Tutorial open_in_new
arrow_back Back to Tutorials