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

15
LINES

< > BotCompany Repo | #1009573 // sendToLocalBotOptQuietly

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Compilation Failed (6247L/40K).

1  
static S sendToLocalBotOptQuietly(S bot, S text, O... args) {
2  
  if (bot == null) return null;
3  
  text = format(text, args);
4  
  temp DialogIO channel = findBot(bot);
5  
  if (channel == null) null;
6  
  try {
7  
    channel.readLine();
8  
    channel.sendLine(text);
9  
    S s = channel.readLine();
10  
    return s;
11  
  } catch (Throwable e) {
12  
    e.printStackTrace();
13  
    null;
14  
  }
15  
}

Author comment

Began life as a copy of #1001322

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: #1009573
Snippet name: sendToLocalBotOptQuietly
Eternal ID of this version: #1009573/2
Text MD5: f1b0d56f0cbfd676940f8b7e77c4cc18
Transpilation MD5: b74b9b9f2dd8c4a39f7942ecba4c3cf9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-13 22:38:06
Source code size: 376 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 414 / 521
Version history: 1 change(s)
Referenced in: [show references]