All Projects → 3ddelano → discord.gd

3ddelano / discord.gd

Licence: MIT license
Discord Bot API wrapper for Godot. Make bots in GDScript.

Programming Languages

GDScript
375 projects

Projects that are alternatives of or similar to discord.gd

godot-local-notification
Godot module for local notifications (android and iOS)
Stars: ✭ 111 (+60.87%)
Mutual labels:  godotengine, godot, godot-engine, godot-plugin
Project-Map
No description or website provided.
Stars: ✭ 52 (-24.64%)
Mutual labels:  godotengine, godot, godot-engine, godot-plugin
godot-android-plugin-firebase
Godot 3.2.2 Android plugin for Firebase
Stars: ✭ 41 (-40.58%)
Mutual labels:  godotengine, godot, godot-engine, godot-plugin
Godot-DialogPlugin
🗨️ A Dialog Node for Godot Engine
Stars: ✭ 194 (+181.16%)
Mutual labels:  godotengine, godot, godot-engine, godot-plugin
godot-cpp-cmake
CMake scripts to build cross-platform GDNative C++ bindings
Stars: ✭ 20 (-71.01%)
Mutual labels:  godotengine, godot, godot-engine
Godot-3.0-Noise-Shaders
Godot 3.0 Noise Shaders
Stars: ✭ 38 (-44.93%)
Mutual labels:  godotengine, godot, godot-engine
GodotFAN
Facebook Audience Network Ad module for godot
Stars: ✭ 25 (-63.77%)
Mutual labels:  godot, godot-engine, godot-plugin
Logic-Circuit-Simulator
A free and open-source Logic Circuit Simulator built in Godot Engine.
Stars: ✭ 23 (-66.67%)
Mutual labels:  godotengine, godot, godot-engine
godot-cmvalley
Port of the Sauerbraten clanmap cm|Valley to Godot 4.0
Stars: ✭ 28 (-59.42%)
Mutual labels:  godotengine, godot, godot-engine
godot-admob-editor
This repository is for Godot's Addons to integrate natively AdMob to your Game Project without much configurations, with a beautiful UI and directly inside Godot Editor!
Stars: ✭ 43 (-37.68%)
Mutual labels:  godotengine, godot, godot-engine
Persistence
Plugin para almacenar datos de forma persistente en Godot Engine 3
Stars: ✭ 20 (-71.01%)
Mutual labels:  godot, godot-engine, godot-plugin
godot-lod-demo
Demonstration project for the Level of Detail (LOD) Godot 3.x add-on
Stars: ✭ 34 (-50.72%)
Mutual labels:  godotengine, godot, godot-engine
toziuha-night-oota
Opensource Metroidvania inspired on Castlevania Order of Ecclesia
Stars: ✭ 78 (+13.04%)
Mutual labels:  godotengine, godot, godot-engine
godot-plugin-refresher
Adds a dropdown and refresh button combo to the toolbar for instantly toggling off/on a plugin. Enables faster workflows for Godot plugin developers.
Stars: ✭ 104 (+50.72%)
Mutual labels:  godot, godot-engine, godot-plugin
Game-Examples
Godot game examples for gotm.io - the Godot Platform!
Stars: ✭ 27 (-60.87%)
Mutual labels:  godotengine, godot, godot-engine
godot box2d
A C++ module that integrates the Box2D library with the Godot game engine by providing nodes for standard Box2D objects.
Stars: ✭ 32 (-53.62%)
Mutual labels:  godotengine, godot, godot-engine
OpMon-Godot
An open source Pokemon-inspired game, now with Godot
Stars: ✭ 50 (-27.54%)
Mutual labels:  godotengine, godot, godot-engine
GodotTerrainEditorPainter
Heightmap based terrain editor plugin for GODOT with vertex color based terrain shader painting
Stars: ✭ 23 (-66.67%)
Mutual labels:  godot, godot-engine, godot-plugin
novemberdev soulslike darksouls godot
Dark Souls clone in 3D with Godot
Stars: ✭ 51 (-26.09%)
Mutual labels:  godotengine, godot, godot-engine
godot-extras
My collection of various plugins, modules, or patches for Godot
Stars: ✭ 108 (+56.52%)
Mutual labels:  godotengine, godot, godot-engine

Discord.gd

(Get it from Godot Asset Library - https://godotengine.org/asset-library/asset/1010)

A Godot plugin to interact with the Discord Bot API. Make Discord Bots in Godot!

100% GDScript


Godot3

Features

  • Make a Discord Bot in less than 10 lines of code
  • Supports Buttons and SelectMenus
  • Supports Application Commands aka Slash Commands
  • Uses Godot signals to emit events like bot_ready, guild_create, message_create, message_delete, etc.
  • Get User Avatar and Guild Icon as Godot's ImageTexture
  • Uses coroutine async functions i.e Promises

Installation

This is a regular plugin for Godot. Copy the contents of addons/discord_gd into the addons/ folder in the same directory as your project, and activate it in your project settings.

The plugin now comes with no extra assets to stay lightweight. If you want to try an example scene, you can see the examples from: Discord.gd Examples

For in-depth installation instructions check the Installation Wiki

Note: You will need a valid Discord Bot token available at Discord Applications

Getting Started

  1. After activating the plugin. There will be a new DiscordBot node added to Godot. Click on any node in the scene tree of your scene for example Root and add the DiscordBot node as a child.

  2. Connect the various signals (bot_ready, guild_create, message_create, message_delete, etc) of the DiscordBot node to the parent node, either through the editor or in the script using the connect() method.

  3. Attach a script to the Root node.

extends Node2D

func _ready():
	var discord_bot = $DiscordBot
	discord_bot.TOKEN = "your_bot_token_here"
	discord_bot.login()
	discord_bot.connect("bot_ready", self, "_on_DiscordBot_bot_ready")

func _on_DiscordBot_bot_ready(bot: DiscordBot):
	print('Logged in as ' + bot.user.username + '#' + bot.user.discriminator)
	print('Listening on ' + str(bot.channels.size()) + ' channels and ' + str(bot.guilds.size()) + ' guilds.')

Documentation

Contributing

This plugin is a non-profit project developped by voluntary contributors.

Supporters

- YaBoyTwiz#6733

Support the project development

Buy Me A Coffee

Want to support in other ways? Contact me on Discord: @3ddelano#6033

For doubts / help / bugs / problems / suggestions do join: 3ddelano Cafe

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].