From ae3f60bcdeb4c561066caf3a63bc892156af2d13 Mon Sep 17 00:00:00 2001 From: Emily <89871431+emillly-b@users.noreply.github.com> Date: Tue, 12 Oct 2021 15:28:55 -0500 Subject: [PATCH] Fix SocketSlashCommandData access modifier. (#237) Fixes #229 --- .../Entities/Interaction/Slash Commands/SocketSlashCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net.WebSocket/Entities/Interaction/Slash Commands/SocketSlashCommand.cs b/src/Discord.Net.WebSocket/Entities/Interaction/Slash Commands/SocketSlashCommand.cs index 0594bc09b..26614b572 100644 --- a/src/Discord.Net.WebSocket/Entities/Interaction/Slash Commands/SocketSlashCommand.cs +++ b/src/Discord.Net.WebSocket/Entities/Interaction/Slash Commands/SocketSlashCommand.cs @@ -11,7 +11,7 @@ namespace Discord.WebSocket /// /// The data associated with this interaction. /// - private new SocketSlashCommandData Data { get; } + public new SocketSlashCommandData Data { get; } internal SocketSlashCommand(DiscordSocketClient client, Model model, ISocketMessageChannel channel) : base(client, model, channel)