Skip to content

Commit

Permalink
Add @...Builder by default for all plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrLotU committed Sep 26, 2020
1 parent b194b4d commit 5e9caa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SwiftHooks/Plugins/Plugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public protocol Plugin: _Plugin {
associatedtype L: EventListeners

/// Commands in this `Plugin`. Use `Group` to group commands together.
var commands: Self.C { get }
@CommandBuilder var commands: Self.C { get }
/// Listeners in this `Plugin`. Use `Listeners` to group listeners together.
var listeners: Self.L { get }
@ListenerBuilder var listeners: Self.L { get }
}

public extension Plugin {
Expand Down

0 comments on commit 5e9caa9

Please sign in to comment.