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

12
LINES

< > BotCompany Repo | #1024153 // Discord: Print Channel Stats

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

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

1  
!7
2  
3  
cmodule DownloadChatLog > DynPrintLog {
4  
  start-thread {
5  
    L<Map> l = gazelle_linesFromServer(ll('user, 'text, 'timestamp, 'channelID));
6  
    print("Have " + nLines(l));
7  
    Map<Long, S> channelNames = gazelle_fromServer_channelMap();
8  
    MultiMap<S, Map> channels = multiMapIndexByField channelID(l);
9  
    print("Have " + channels.keysSize() + " channels");
10  
    print(multiSetToLines(multiSetMapKeys(curry mapGet(channelNames), multiMapKeysMultiSet(channels))));
11  
  }
12  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1024153
Snippet name: Discord: Print Channel Stats
Eternal ID of this version: #1024153/7
Text MD5: 4c0caca2923b368ffcc0dd0134392203
Transpilation MD5: 461c324e2196590115edc293c5a1ac44
Author: stefan
Category: javax / discord / a.i.
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-23 20:35:46
Source code size: 484 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 127 / 298
Version history: 6 change(s)
Referenced in: [show references]