Merge branch 'main' of https://github.com/vaporvee/discord-sdk-godot into just-add-invites-already

This commit is contained in:
Yannik
2023-05-15 19:31:47 +02:00
5 changed files with 28 additions and 6 deletions

View File

@@ -23,6 +23,8 @@ body:
label: Version label: Version
description: What version of our software are you running? description: What version of our software are you running?
options: options:
- 1.5
- 1.4
- 1.3 - 1.3
- 1.2 - 1.2
- 1.1 - 1.1
@@ -47,6 +49,14 @@ body:
render: gdscript render: gdscript
validations: validations:
required: true required: true
- type: textarea
id: log
attributes:
label: Godot output
description: The output log from Godot
render: shell
validations:
required: false
- type: textarea - type: textarea
id: additional id: additional
attributes: attributes:
@@ -61,5 +71,7 @@ body:
label: Checks label: Checks
description: Common mistakes (Adding more in the future sorry btw) description: Common mistakes (Adding more in the future sorry btw)
options: options:
- label: I tried reinstalling the addon in a new project. - label: I tried reinstalling the addon or tried to fix it myself with other methods.
required: true
- label: I tried restarting Discord and Godot completely.
required: true required: true

View File

@@ -1,7 +1,7 @@
<img src="/project/assets/Banner.svg" alt="Project Banner" /> <img src="/project/assets/Banner.svg" alt="Project Banner" />
![HitCount](https://hits.dwyl.com/vaporvee/discord-sdk-godot.svg)
<<<<<<< HEAD
### :warning: This is an early version! MacOS support still doesn't work! In future versions there also will be invites, user info etc. very soon! ### :warning: This is an early version! MacOS support still doesn't work! In future versions there also will be invites, user info etc. very soon!
Don't forget to run the following command **if you clone this project** or files will be missing Don't forget to run the following command **if you clone this project** or files will be missing
@@ -40,13 +40,23 @@ func _ready():
### [Try a built demo](https://github.com/vaporvee/discord-sdk-godot/releases/latest/download/Demo-Export.zip) ### [Try a built demo](https://github.com/vaporvee/discord-sdk-godot/releases/latest/download/Demo-Export.zip)
:incoming_envelope: Still questions? write an [issue](https://github.com/vaporvee/discord-sdk-godot/issues)! I'll answer very fast :) :incoming_envelope: Still questions? write an [issue](https://github.com/vaporvee/discord-sdk-godot/issues)! I'll answer very fast :)
=======
**:warning: This is an early version! MacOS support still doesn't work! In future versions there also will be invites, user info etc. very soon!**
>>>>>>> fa63df6094ecc20735383edff8de3b017ea2ad24
**Discord Game SDK support for GDScript in Godot Engine 4.0. with the easiest code pattern!**<br><br>
**Please leave a star that would really help! And thanks to all the people that already starred this project! ❤️**
<br /> <br />
<br />
# [Quick start :rocket: (click here)](https://github.com/vaporvee/discord-sdk-godot/wiki/Quick-start)
<br />
**A small donation with the sponsor button would be nice if you sell your project with this addon but is of course not mandatory!**
<br /> <br />
### Credit ### Credit
[@Pukimaa](https://github.com/pukimaa) - Designer<br> [@Pukimaa](https://github.com/pukimaa) - Designer<br>
[@koyuawsmbrtn](https://github.com/koyuawsmbrtn) - Getting it to work on MacOS (shes giving her best)
<br /> <br />
*This project is not endorsed or affiliated with Discord Inc. or the Godot Foundation.* *This project is not endorsed or affiliated with Discord Inc. or the Godot Foundation.*

View File

@@ -1,7 +1,7 @@
@tool @tool
extends EditorExportPlugin extends EditorExportPlugin
func _export_file(path, type, features): func _export_file(_path, _type, features):
if features[2] == "windows": if features[2] == "windows":
if features[4] == "x86_64": if features[4] == "x86_64":
add_shared_object("res://addons/discord-sdk-gd/bin/windows/discord_game_sdk.dll",[],"/") add_shared_object("res://addons/discord-sdk-gd/bin/windows/discord_game_sdk.dll",[],"/")

View File

@@ -3,5 +3,5 @@
name="DiscordSDK" name="DiscordSDK"
description="Discord Game SDK support for GDScript in Godot" description="Discord Game SDK support for GDScript in Godot"
author="vaporvee" author="vaporvee"
version="1.4" version="1.5"
script="plugin.gd" script="plugin.gd"

View File

@@ -5,7 +5,7 @@ const ExportPlugin = preload("export.gd")
var loaded_exportplugin = ExportPlugin.new() var loaded_exportplugin = ExportPlugin.new()
func _enter_tree(): func _enter_tree():
add_autoload_singleton("updater_discordsdk", "sdk_utility.gd") add_autoload_singleton("updater_discordsdk", "res://addons/discord-sdk-gd/sdk_utility.gd")
add_export_plugin(loaded_exportplugin) add_export_plugin(loaded_exportplugin)
func disable_plugin(): func disable_plugin():