Add in new emote "The Fruits of Our Labor" for Eve.

r3cp3ct-Japanese-sticker-triggers
sigonasr2 6 years ago
parent a2f3664da3
commit b81a87b449
  1. BIN
      sigIRCv2.jar
  2. 6
      src/sig/modules/BandoriModule.java
  3. 5
      src/sig/sigIRC.java

Binary file not shown.

@ -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 {

@ -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");

Loading…
Cancel
Save