diff --git a/pyproject.toml b/pyproject.toml index d056bc39..11c85e0f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [tool.poetry] name = "royalpack" - version = "5.5.1" + version = "5.5.2" description = "A Royalnet command pack for the Royal Games community" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalpack/stars/api_discord_play.py b/royalpack/stars/api_discord_play.py index 881cae59..26487dc5 100644 --- a/royalpack/stars/api_discord_play.py +++ b/royalpack/stars/api_discord_play.py @@ -18,6 +18,8 @@ class ApiDiscordPlayStar(ApiStar): guild_id: Optional[int] = int(guild_id_str) except (ValueError, TypeError): raise InvalidParameterError("'guild_id' is not a valid int.") + else: + guild_id = None log.info(f"Received request to play {url} on guild_id {guild_id} via web") response = await self.interface.call_herald_event("discord", "discord_play", url=url, diff --git a/royalpack/version.py b/royalpack/version.py index 4a50633f..6573d14b 100644 --- a/royalpack/version.py +++ b/royalpack/version.py @@ -1 +1 @@ -semantic = "5.5.1" +semantic = "5.5.2"