diff --git a/.github/ISSUE_TEMPLATE/BUG.yml b/.github/ISSUE_TEMPLATE/BUG.yml index e995459..c278711 100644 --- a/.github/ISSUE_TEMPLATE/BUG.yml +++ b/.github/ISSUE_TEMPLATE/BUG.yml @@ -23,6 +23,8 @@ body: label: Version description: What version of our software are you running? options: + - 1.5 + - 1.4 - 1.3 - 1.2 - 1.1 @@ -47,6 +49,14 @@ body: render: gdscript validations: required: true + - type: textarea + id: log + attributes: + label: Godot output + description: The output log from Godot + render: shell + validations: + required: false - type: textarea id: additional attributes: @@ -61,5 +71,7 @@ body: label: Checks description: Common mistakes (Adding more in the future sorry btw) 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 diff --git a/README.md b/README.md index 18eccd3..9a3ba5c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ 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! 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) :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!**

+**Please leave a star that would really help! And thanks to all the people that already starred this project! ❤️**
+
+# [Quick start :rocket: (click here)](https://github.com/vaporvee/discord-sdk-godot/wiki/Quick-start) +
+ +**A small donation with the sponsor button would be nice if you sell your project with this addon but is of course not mandatory!** +
### Credit [@Pukimaa](https://github.com/pukimaa) - Designer
-[@koyuawsmbrtn](https://github.com/koyuawsmbrtn) - Getting it to work on MacOS (shes giving her best)
*This project is not endorsed or affiliated with Discord Inc. or the Godot Foundation.* diff --git a/project/addons/discord-sdk-gd/export.gd b/project/addons/discord-sdk-gd/export.gd index 2c6e265..b7e815d 100644 --- a/project/addons/discord-sdk-gd/export.gd +++ b/project/addons/discord-sdk-gd/export.gd @@ -1,7 +1,7 @@ @tool extends EditorExportPlugin -func _export_file(path, type, features): +func _export_file(_path, _type, features): if features[2] == "windows": if features[4] == "x86_64": add_shared_object("res://addons/discord-sdk-gd/bin/windows/discord_game_sdk.dll",[],"/") diff --git a/project/addons/discord-sdk-gd/plugin.cfg b/project/addons/discord-sdk-gd/plugin.cfg index 2dc0a11..0b98cc2 100644 --- a/project/addons/discord-sdk-gd/plugin.cfg +++ b/project/addons/discord-sdk-gd/plugin.cfg @@ -3,5 +3,5 @@ name="DiscordSDK" description="Discord Game SDK support for GDScript in Godot" author="vaporvee" -version="1.4" +version="1.5" script="plugin.gd" diff --git a/project/addons/discord-sdk-gd/plugin.gd b/project/addons/discord-sdk-gd/plugin.gd index 8cc3ecb..12cf41b 100644 --- a/project/addons/discord-sdk-gd/plugin.gd +++ b/project/addons/discord-sdk-gd/plugin.gd @@ -5,7 +5,7 @@ const ExportPlugin = preload("export.gd") var loaded_exportplugin = ExportPlugin.new() 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) func disable_plugin():