'''
Created on Nov 10, 2014

@author: fechnert
'''

import logging


class Feature(object):
    ''' Represents a abstract Feature '''

    def __init__(self, config, clients, channels):
        ''' Initialize the Object '''
        self.config = config
        self.clients = clients
        self.channels = channels

    def run(self):
        raise NotImplementedError


class UsernameBlacklist(Feature):
    pass


class AutoMove(Feature):
    pass


class MusicbotDetect(Feature):
    pass

'''
Created on Nov 10, 2014

@author: fechnert
'''

import logging


class Feature(object):
    ''' Represents a abstract Feature '''

    def __init__(self, config, clients, channels):
        ''' Initialize the Object '''
        self.config = config
        self.clients = clients
        self.channels = channels

    def run(self):
        raise NotImplementedError


class UsernameBlacklist(Feature):
    pass

class OnAway(Feature):
    pass

class OnIdle(Feature):
    pass

class OnMute(Feature):
    pass

class OnDeaf(Feature):
    pass

Change Feature classes to match the new config
Change Feature classes to match the new config

  '''
  Created on Nov 10, 2014
  
  @author: fechnert
  '''
  
  import logging
  
  
  class Feature(object):
      ''' Represents a abstract Feature '''
  
      def __init__(self, config, clients, channels):
          ''' Initialize the Object '''
          self.config = config
          self.clients = clients
          self.channels = channels
  
      def run(self):
          raise NotImplementedError
  
  
  class UsernameBlacklist(Feature):
      pass
  
+ class OnAway(Feature):
- 
- class AutoMove(Feature):
      pass
  
+ class OnIdle(Feature):
- 
- class MusicbotDetect(Feature):
      pass
  
+ class OnMute(Feature):
+     pass
+ 
+ class OnDeaf(Feature):
+     pass
+ 
Change Feature classes to match the new config
## Code Before:
'''
Created on Nov 10, 2014

@author: fechnert
'''

import logging


class Feature(object):
    ''' Represents a abstract Feature '''

    def __init__(self, config, clients, channels):
        ''' Initialize the Object '''
        self.config = config
        self.clients = clients
        self.channels = channels

    def run(self):
        raise NotImplementedError


class UsernameBlacklist(Feature):
    pass


class AutoMove(Feature):
    pass


class MusicbotDetect(Feature):
    pass

## Instruction:
Change Feature classes to match the new config
## Code After:
'''
Created on Nov 10, 2014

@author: fechnert
'''

import logging


class Feature(object):
    ''' Represents a abstract Feature '''

    def __init__(self, config, clients, channels):
        ''' Initialize the Object '''
        self.config = config
        self.clients = clients
        self.channels = channels

    def run(self):
        raise NotImplementedError


class UsernameBlacklist(Feature):
    pass

class OnAway(Feature):
    pass

class OnIdle(Feature):
    pass

class OnMute(Feature):
    pass

class OnDeaf(Feature):
    pass
