Package us.aaronweiss.juicebot

Examples of us.aaronweiss.juicebot.SessionData$Server


{

  public static Server s1;
  public void callserver()
  {
    s1=new Server();
  }
View Full Code Here


    join("#vana");
  }

  @Override
  public void receive(Message message) {
    SessionData sdo = message.session().attr(DataAwareBot.sessionData).get();
    if (message.type().equals("PRIVMSG") && message.message().contains(username())) {
      if (Bot.containsIgnoreCase("users", message.message())) {
        message.replyDirect("Channel Users: " + sdo.server.channels.get(message.channel()).userCount());
        message.replyDirect("Server Users: " + sdo.server.online());
      } else if (Bot.containsIgnoreCase("opers", message.message())) {
View Full Code Here

TOP

Related Classes of us.aaronweiss.juicebot.SessionData$Server

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.