diff --git a/src/Discord.Net.Rest/DiscordRestApiClient.cs b/src/Discord.Net.Rest/DiscordRestApiClient.cs index c1a1dc28b..eb1737c6f 100644 --- a/src/Discord.Net.Rest/DiscordRestApiClient.cs +++ b/src/Discord.Net.Rest/DiscordRestApiClient.cs @@ -1227,7 +1227,7 @@ namespace Discord.API //with_localizations=false doesnt return localized names and descriptions var query = withLocalizations ? "?with_localizations=true" : string.Empty; - return await SendAsync("GET", () => $"applications/{CurrentApplicationId}/commands{}", + return await SendAsync("GET", () => $"applications/{CurrentApplicationId}/commands{query}", new BucketIds(), options: options).ConfigureAwait(false); } @@ -1309,7 +1309,7 @@ namespace Discord.API //with_localizations=false doesnt return localized names and descriptions var query = withLocalizations ? "?with_localizations=true" : string.Empty; - return await SendAsync("GET", () => $"applications/{CurrentApplicationId}/commands{query}", + return await SendAsync("GET", () => $"applications/{CurrentApplicationId}/guilds/{guildId}/commands{query}", bucket, options: options).ConfigureAwait(false); }