com.levelonelabs.aimbot.modules
Class DefaultModule

java.lang.Object
  extended bycom.levelonelabs.aimbot.BotModule
      extended bycom.levelonelabs.aimbot.modules.DefaultModule

public class DefaultModule
extends BotModule

Default module to give non AI responses to non-commands

Author:
(matty501 AT yahoo.com)

Field Summary
 
Fields inherited from class com.levelonelabs.aimbot.BotModule
bot
 
Constructor Summary
DefaultModule(AIMBot bot)
          Constructor for the Default module
 
Method Summary
 java.lang.String getName()
          Gets the name of the module
 java.util.ArrayList getServices()
          Gets the services
 java.lang.String help()
          Describes the usage of the module
 void performService(AIMBuddy buddy, java.lang.String query)
          Responds to an unknown command, or adds a term to respond with
 
Methods inherited from class com.levelonelabs.aimbot.BotModule
addAIMListener, addBuddies, addBuddy, denyBuddy, getBuddy, getBuddyNames, getPermitMode, permitBuddy, removeBuddies, removeBuddy, sendMessage, sendWarning, setAvailable, setPermitMode, setUnavailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultModule

public DefaultModule(AIMBot bot)
Constructor for the Default module

Parameters:
bot -
Method Detail

getServices

public java.util.ArrayList getServices()
Gets the services

Specified by:
getServices in class BotModule
Returns:
The services

getName

public java.lang.String getName()
Gets the name of the module

Specified by:
getName in class BotModule
Returns:
The name value

help

public java.lang.String help()
Describes the usage of the module

Specified by:
help in class BotModule
Returns:
the usage of the module

performService

public void performService(AIMBuddy buddy,
                           java.lang.String query)
Responds to an unknown command, or adds a term to respond with

Specified by:
performService in class BotModule
Parameters:
buddy - requesting buddy
query - the message


Copyright © 2001-2005 Java AIM Bot. All Rights Reserved.