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

17
LINES

< > BotCompany Repo | #1023376 // First Phone Assistant Action ["token", unshortened version]

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

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

!7

cmodule BasicAssistantActions > DynPrintLogAndEnabled {
  start {
    dm_vmBus_onMessage_q phoneCatHeard(voidfunc(Map map) {
      S token = getString token(map);
      S s = getString line(map);
      S language = getString language(map);
      print("Language: " + language);
      O module = map.get('module);
      if "token|what is my token"
        dm_call(module, 'sendToUser, token,
          format(isGerman(language) ? "Dein Token ist *"
            : "Your token is *", takeFirst(token, 8) + "..."));
    });
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1023376
Snippet name: First Phone Assistant Action ["token", unshortened version]
Eternal ID of this version: #1023376/6
Text MD5: 40d216e7062ae921170e5017968145bc
Transpilation MD5: e0ce0ba0421c65d4e5fdca18f2c5be14
Author: stefan
Category: javax / web / a.i. / android
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-13 12:59:05
Source code size: 545 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 277 / 452
Version history: 5 change(s)
Referenced in: #1023384 - dm_phoneAssistantAction
#1023385 - First Phone Assistant Action ["token", shortened, OK]