From 2f231d07d6c1ad7f30a4bc1137e82aeb8610ea86 Mon Sep 17 00:00:00 2001 From: CavariuX Date: Sat, 18 Apr 2015 16:32:02 -0500 Subject: [PATCH] ++ Added | -- Removed | * Extra --Extra Files ++Finished the Alphav1.0 *Sry for the Error about Beta this is Alpha --- src/test/CavsBot.java | 26 -------------------------- src/test/Core.java | 18 ------------------ 2 files changed, 44 deletions(-) delete mode 100644 src/test/CavsBot.java delete mode 100644 src/test/Core.java diff --git a/src/test/CavsBot.java b/src/test/CavsBot.java deleted file mode 100644 index 2bd492b..0000000 --- a/src/test/CavsBot.java +++ /dev/null @@ -1,26 +0,0 @@ -package test; - -import tk.cavariux.twitchirc.Chat.Channel; -import tk.cavariux.twitchirc.Chat.User; -import tk.cavariux.twitchirc.Core.TwitchBot; - -public class CavsBot extends TwitchBot -{ - - public CavsBot () - { - this.setUsername("CavsBot"); - this.setOauth_Key("oauth:whnrm49fyojrosf1rru3rxfty4jici"); - } - - @Override - public void onMessage(User user, Channel channel, String message) - { - if (message.equalsIgnoreCase("!hi")) - this.sendMessage("Hi there " + user, channel); - if (message.equalsIgnoreCase("!mods")) - channel.getMods(); - if (message.equalsIgnoreCase("!mod")) - this.sendMessage(channel.isMod(user) + " eres mod!", channel); - } -} diff --git a/src/test/Core.java b/src/test/Core.java deleted file mode 100644 index 4f7d50f..0000000 --- a/src/test/Core.java +++ /dev/null @@ -1,18 +0,0 @@ -package test; - -import java.io.IOException; - -public class Core { - - public static void main(String[] args) { - CavsBot bot = new CavsBot(); - try { - bot.connect(); - } catch (IOException e) { - e.printStackTrace(); - } - bot.joinChannel("#cavariux"); - bot.start(); - } - -}