Godiscord
Make a Discord bot directly in the Godot Game Engine!
Examples
Ping-Pong
extends Node
@onready var discord_bot: DiscordBot = $DiscordBot
func _ready() -> void:
discord_bot.token = OS.get_environment("DISCORD_BOT_TOKEN")
func _on_discord_bot_message_recieved(message: DiscordMessage) -> void:
if message.content == "!ping":
message.reply("Pong!")