Skip to content

Commit

Permalink
fix #3069 (nice)
Browse files Browse the repository at this point in the history
  • Loading branch information
Misha-133 committed Mar 1, 2025
1 parent d71fcb1 commit c3a1592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Discord.Net.WebSocket/Entities/Guilds/SocketGuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ public async ValueTask<SocketApplicationCommand> GetApplicationCommandAsync(ulon
if (mode == CacheMode.CacheOnly)
return null;

var model = await Discord.ApiClient.GetGlobalApplicationCommandAsync(id, options);
var model = await Discord.ApiClient.GetGuildApplicationCommandAsync(Id, id, options);

if (model == null)
return null;
Expand Down

0 comments on commit c3a1592

Please sign in to comment.