Skip to content

Discord

aabss edited this page Mar 11, 2024 · 2 revisions

Discord

this page is for sending things to discord webhooks

simple message

to send a simple message with nothing extra, just use the Send Discord Webhook Effect

example:

post "example text" to webhook with url "https://discord.com/webhook/url"

image

custom webhook appearance

to just edit what the bot looks like use Discord Webhook Builder Section and send Discord Webhook Effect

example:

discord webhook builder:
	content: "SkHttp is a new skript addon for http things!"
	username: "SkHttp"
	avatar: "https://aabss.lol/assets/aabss.jpg"
	variable: {_webhook}
post {_webhook} to webhook with url "https://discord.com/webhook/url"

image

custom webhook appearance and embed

to just edit what the bot looks like and add an embed use Discord Webhook Builder Section, Send Discord Webhook Effect and Discord Webhook Embed Builder Section

example:

discord embed builder:
	title: "Embed title"
	description: "Embed Description"
	url: "https://discord.com/webhook"
	color: "##ffffff"
	timestamp: true
	footer: {_footer}
	thumbnail: "https://aabss.lol/assets/bg.jpg"
	image: "https://aabss.lol/assets/aabss.jpg"
	author: {_author}
	fields: {_field1}, {_field2}, {_field3}
	variable: {_embed}
discord webhook builder:
	content: "SkHttp is a new skript addon for http things!"
	username: "SkHttp"
	avatar: "https://aabss.lol/assets/aabss.jpg"
	embed: {_embed}
	variable: {_webhook}
post {_webhook} to webhook with url "https://discord.com/webhook/url"

image

Clone this wiki locally