Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Commit

Permalink
Allow for null description in PluginInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbooth committed Mar 17, 2022
1 parent fe052d5 commit 4512640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BrackeysBot.API/Plugins/PluginInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/// </summary>
public class PluginInfo
{
internal PluginInfo(string name, string version, string description, PluginAuthorInfo? author, PluginInfo[] dependencies)
internal PluginInfo(string name, string version, string? description, PluginAuthorInfo? author, PluginInfo[] dependencies)
{
Name = name;
Version = version;
Expand All @@ -30,7 +30,7 @@ internal PluginInfo(string name, string version, string description, PluginAutho
/// Gets the description of this plugin.
/// </summary>
/// <value>The plugin description.</value>
public string Description { get; }
public string? Description { get; }

/// <summary>
/// Gets the name of this plugin.
Expand Down

0 comments on commit 4512640

Please sign in to comment.