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

10
LINES

< > BotCompany Repo | #1002434 // miniChat - post message about current input to mini-chat

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

static void miniChat(S text) {
  S slackTS = getSlackTS();
  if (slackTS == null) {
    print("Skipping mini-chat post (not on slack): " + quote(text));
    ret;
  }
  
  O mcBot = getBot("#1002433");
  call(mcBot, "addToMiniChat", "dc" + slackTS, getProgramID(), text);
}

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: #1002434
Snippet name: miniChat - post message about current input to mini-chat
Eternal ID of this version: #1002434/1
Text MD5: 8827d10a5d4c495924576c65cf44de34
Author: stefan
Category: eleu
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-01-21 23:50:49
Source code size: 281 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 782 / 705
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000202 - Answer for stefanreich (>> T conversion bot)
#3000238 - Answer for stefanreich (>> t power bot)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)