Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1010825 // Post Google Image To Stefan's Chat

JavaX module [tags: use-pretranspiled]

Download Jar. Libraryless. Click here for Pure Java version (4858L/33K/108K).

!7

p {
  botIfMain();
}

answer {
  if (startsWith(s, "!image ", m)) {
    S x = trim(m.rest());
    print("Googling " + x); 
    BufferedImage img = quickVisualize(x);
    ret "[IMAGE] " + uploadJPEGToImageServer(img, x);
  }
}
    

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010825
Snippet name: Post Google Image To Stefan's Chat
Eternal ID of this version: #1010825/3
Text MD5: c96f330c8f7d88110b8f04e76e06b53f
Transpilation MD5: 0a6a073fb007e1fd1d0ff3cae1b9c30c
Author: stefan
Category: javax / chat
Type: JavaX module
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-04 01:03:14
Source code size: 248 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 400 / 1916
Version history: 2 change(s)
Referenced in: [show references]