Пример #1
0
 /// <inheritdoc />
 public IMessageReference <IDiscordMessage> CreateRef(MessageBucketArgs args)
 {
     if (args == null)
     {
         throw new ArgumentNullException(nameof(args));
     }
     return(new MessageReference(args));
 }
Пример #2
0
 public MessageReference(MessageBucketArgs args)
 {
     Arguments = args;
 }
Пример #3
0
 public static void Add(MessageBucketArgs properties)
 {
     queuedMessages.Enqueue(properties);
 }