Discord.gd

Discord.gd is a Godot Engine plugin for interacting with the Discord Bot API, enabling the creation of Discord bots using GDScript. It supports features like buttons, select menus, slash commands, and real-time event handling through Godot signals.

https://github.com/3ddelano/discord.gd

Discord.gd: Create Discord Bots in Godot with GDScript

Discord.gd is a powerful Godot Engine plugin that allows developers to create Discord bots directly within the Godot environment using GDScript. This plugin simplifies the process of building interactive bots by providing an easy-to-use interface for the Discord Bot API.

Key Features

  • GDScript Support: 100% GDScript implementation ensures seamless integration with Godot projects.
  • Interactive Components: Supports Discord's Buttons and Select Menus for enhanced user interaction.
  • Application Commands: Implements support for Application Commands, also known as Slash Commands.
  • Real-time Events: Utilizes Godot signals to emit events like bot_ready, guild_create, message_create, and message_delete.
  • Asynchronous Functions: Employs coroutine async functions for efficient task management.
  • Asset Retrieval: Allows retrieving user avatars and guild icons as Godot's ImageTexture.

Installation and Usage

Discord.gd is installed as a regular Godot plugin. Simply copy the contents of the addons/discord_gd folder into your project's addons/ directory and activate it in the project settings. Once activated, a DiscordBot node becomes available, which can be added to any scene. Connect the node's signals to your script to handle Discord events. A valid Discord Bot token is required, obtainable from Discord Applications.

Resource Details

tool

3ddelano



3