Example #1
0
 public CommandCollectorEventArgs(CollectorController controller, IMessage message,
                                  KeyValuePair <CommandMatch, ParseResult> info,
                                  ICommandContext context) : base(controller)
 {
     Message     = message;
     CommandInfo = info.Key;
     Context     = context;
     ParseResult = info.Value;
 }
Example #2
0
 public MessageCollectorEventArgs(CollectorController controller, IMessage message) : base(controller)
 {
     Message = message;
 }
Example #3
0
 public EmoteCollectorEventArgs(CollectorController controller, SocketReaction reaction) : base(controller)
 {
     Reaction = reaction;
 }
Example #4
0
 public EmoteMultiCollectorEventArgs(CollectorController controller, CollectorsGroup group,
                                     SocketReaction reaction) : base(controller, reaction)
 {
     CollectorsGroup = group;
 }
Example #5
0
 protected CollectorEventArgsBase(CollectorController controller)
 {
     Controller = controller;
     Controller.TaskCompletionSource?.SetResult(this);
 }