diff --git a/sigIRCv2.jar b/sigIRCv2.jar index 4cf88ce..a8ab2de 100644 Binary files a/sigIRCv2.jar and b/sigIRCv2.jar differ diff --git a/src/sig/modules/BandoriModule.java b/src/sig/modules/BandoriModule.java index 9f52dcd..9eb183e 100644 --- a/src/sig/modules/BandoriModule.java +++ b/src/sig/modules/BandoriModule.java @@ -93,6 +93,7 @@ public class BandoriModule extends Module{ image_map.put("sayo_im_sorry", new ImageScheme(stamp_collection2,24)); image_map.put("hagumi_hooray", new ImageScheme(stamp_collection2,25)); image_map.put("tsugumi_amazing", new ImageScheme(stamp_collection2,26)); + image_map.put("eve_thefruits", new ImageScheme(stamp_collection2,27)); stamp_map.put("kasumi_gogo",Arrays.asList("gogo")); stamp_map.put("tae_letsplay",Arrays.asList("playtogether","wanttoplay","multilive","letsplay")); @@ -144,8 +145,9 @@ public class BandoriModule extends Module{ stamp_map.put("sayo_im_sorry",Arrays.asList("sorry","gomen","apologize","somethingwrong","forgive")); stamp_map.put("hagumi_hooray",Arrays.asList("hooray","hiphip","whoo","yahoo")); stamp_map.put("tsugumi_amazing",Arrays.asList("amazing","wow","sugoi","wooo","cool!","tsugurific")); + stamp_map.put("eve_thefruits",Arrays.asList("fruits","labor","hardwork","effort")); - /*for (String s : image_map.keySet()) { + for (String s : image_map.keySet()) { ImageScheme scheme = image_map.get(s); try { BufferedImage img = crop(scheme.base,scheme.stamp_index%6*270+4, scheme.stamp_index/6*223+3, 258, 214); @@ -153,7 +155,7 @@ public class BandoriModule extends Module{ } catch (IOException e) { e.printStackTrace(); } - }*/ + } } public BufferedImage crop(BufferedImage img, int x, int y, int targetWidth, int targetHeight) throws IOException { diff --git a/src/sig/sigIRC.java b/src/sig/sigIRC.java index a0b89d8..365235e 100644 --- a/src/sig/sigIRC.java +++ b/src/sig/sigIRC.java @@ -271,6 +271,11 @@ public class sigIRC{ //System.out.println(manager.auth().hasAccessToken()); DownloadAllRequiredDependencies(); + try { + org.apache.commons.io.FileUtils.copyURLToFile(new URL("https://bandori.party/api/"),new File("testing")); + } catch (IOException e) { + e.printStackTrace(); + } String[] filedata = FileUtils.readFromFile(BASEDIR+"sigIRC/oauthToken.txt");