Skip to content

Commit

Permalink
Fixed some compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizkiller96 committed Apr 28, 2024
1 parent e07f340 commit edaad61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/WizBot/Modules/Administration/Self/DoAsUserMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public Task RemoveAllReactionsForEmoteAsync(IEmote emote, RequestOptions? option

public MessageFlags? Flags => _msg.Flags;

[Obsolete("Obsolete in favor of InteractionMetadata")]
public IMessageInteraction Interaction => _msg.Interaction;
public MessageRoleSubscriptionData RoleSubscriptionData => _msg.RoleSubscriptionData;

Expand Down Expand Up @@ -146,5 +147,7 @@ public Task CrosspostAsync(RequestOptions? options = null)
public MessageResolvedData ResolvedData => _msg.ResolvedData;

public IUserMessage ReferencedMessage => _msg.ReferencedMessage;
public IMessageInteractionMetadata InteractionMetadata { get; }

public IMessageInteractionMetadata InteractionMetadata
=> _msg.InteractionMetadata;
}
2 changes: 1 addition & 1 deletion src/WizBot/WizBot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<PackageReference Include="Serilog.Sinks.Seq" Version="5.1.1" />
<PackageReference Include="SharpToken" Version="1.2.14" />
<PackageReference Include="SixLabors.Fonts" Version="1.0.0-beta17" />
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.3" />
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.8" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-beta14" />
<PackageReference Include="SixLabors.Shapes" Version="1.0.0-beta0009" />
<PackageReference Include="StackExchange.Redis" Version="2.6.48" />
Expand Down

0 comments on commit edaad61

Please sign in to comment.