Skip to content

Commit

Permalink
Added summary
Browse files Browse the repository at this point in the history
  • Loading branch information
AHpx committed Mar 2, 2022
1 parent e4b82d3 commit af48095
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Mirai.Net/Modules/IModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,19 @@

namespace Mirai.Net.Modules;

/// <summary>
/// 模块化接口
/// </summary>
public interface IModule
{
/// <summary>
/// 执行器
/// </summary>
/// <param name="base"></param>
void Execute(MessageReceiverBase @base);

/// <summary>
/// 是否启用模块
/// </summary>
bool? IsEnable { get; set; }
}

0 comments on commit af48095

Please sign in to comment.