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).

static S sendToLocalBotOptQuietly(S bot, S text, O... args) {
  if (bot == null) return null;
  text = format(text, args);
  temp DialogIO channel = findBot(bot);
  if (channel == null) null;
  try {
    channel.readLine();
    channel.sendLine(text);
    S s = channel.readLine();
    return s;
  } catch (Throwable e) {
    e.printStackTrace();
    null;
  }
}

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: 415 / 522
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1009929 - sendOptQuietly - synonym of sendToLocalBotOptQuietly