Godiscord

by Shuflduf

18

Godiscord

logo

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!")

image

Custom command with options

command

Button to send message

image

Version

1.2.0

Engine

4.3

Category

Scripts

Download

Version1.2.0
Download Now

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author