Page MenuHomePhabricator

Vandalism information alerting
Open, WishlistPublic


Extending from T497, create a background service to poll the API for vandalism information.

You'll need:

  1. An interface in Helpmebot.Background.Interfaces similar to INotificationBackgroundService
  2. A service in Helpmebot.Background similar to NotificationBackgroundService
  3. Move the vandalism information method from T497 from the command to a static method in the service, updating the command with the method's new location
  4. Set up the service to call the vandalinfo method, and check the result against a variable in the service. If they're different, send a message to a hard-coded IRC channel.