Example #1
0
 public QuicklinkService(ScpService scp)
 {
     _scp              = scp;
     _pattern          = @"(?<=[^\/]|^)SCP(-| )[0-9]{3,4}((-| )(J|EX|ARC|SK|C[ZS]((-| )(J|EX|ARC)|))|)(?=\W|$)";
     _exemptChannelIds = new ulong[] { 776117655119331369, 537063810121334784, 710575651664429127 };
     _lastLink         = new Dictionary <ulong, DateTime>();
     _latestLinkIds    = new List <ulong>();
     _lastScp          = new Dictionary <ulong, List <string> >();
     _limit            = TimeSpan.FromSeconds(3);
 }