Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser



Quick Information

Godot Discord WebHook
Easily send webhooks to your discord server from Godot.
Supported Engine Version
4.2
Version String
1.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL
Welcome to GodotDiscordWebHooks
[!WARNING] Be sure to check the unsupported features to ensure that you can use this plugin efficiently.
Checkout the api in action
Check the docs
Check the docs
Getting started
- To get started with GodotDiscordWebHooks install this plugin either from downloading / cloning the GitHub repository.
- Get a webhook url if you haven't already.
- Next you can create your first message
My first message
- After installing the files for GodotDiscordWebHooks, create a scene and attach a node to the root.
- Open the script and create a _ready() function.
# In res://Node.gd
func _ready() -> void:
pass
- Create a webhook object to send content and change the webhooks username. Remember to replace
WEBHOOK_URL
with your webhook's url. Get a webhook url if you haven't already.
# In res://Node.gd
func _read() -> void:
var webhook := DiscordWebHook.new(WEBHOOK_URL)
webhook.message("Hello from godot!")
webhook.username("A robot")
# DiscordWebHook allows chaining so the above code can also be written as:
# webhook.message("Hello from godot!").username("A robot")
- Finally, we post the message, for this introduction we won't be doing anything with the response so we won't cast it
# In res://Node.gd
func _read() -> void:
var webhook := DiscordWebHook.new(WEBHOOK_URL)
webhook.message("Hello from godot!")
webhook.username("A robot")
# Post the message
await webhook.post()
Get a webhook url
Api in action
Easily send webhooks to your discord server from Godot.
Reviews
Quick Information

Godot Discord WebHook
Easily send webhooks to your discord server from Godot.
Supported Engine Version
4.2
Version String
1.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL