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

11
LINES

< > BotCompany Repo | #1022971 // Simple responder test for Slack module

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (3894L/19K).

1  
!7
2  
3  
cmodule SlackResponderTest > DynPrintLogAndEnabled {
4  
  start {
5  
    dm_vmBus_onMessage_q('incomingSlackMessage, voidfunc(Map _) {
6  
      if (!enabled) ret;
7  
      bool bot = boolPar fromBot(_);
8  
      print("Got Slack message (bot: " + bot + "): " + stringPar content(_));
9  
    });
10  
  }
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022971
Snippet name: Simple responder test for Slack module
Eternal ID of this version: #1022971/4
Text MD5: b323f3c0999c7beaaf39f1d7c224379e
Transpilation MD5: f776a775173a5fff6185d8ebadd1d261
Author: stefan
Category: javax / slack bots
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-16 22:11:47
Source code size: 296 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 325 / 569
Version history: 3 change(s)
Referenced in: [show references]