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

!7

cmodule DownloadChatLog > DynPrintLog {
  start-thread {
    L<Map> l = gazelle_linesFromServer(ll('user, 'text, 'timestamp, 'channelID));
    print("Have " + nLines(l));
    Map<Long, S> channelNames = gazelle_fromServer_channelMap();
    MultiMap<S, Map> channels = multiMapIndexByField channelID(l);
    print("Have " + channels.keysSize() + " channels");
    print(multiSetToLines(multiSetMapKeys(curry mapGet(channelNames), multiMapKeysMultiSet(channels))));
  }
}

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: 123 / 292
Version history: 6 change(s)
Referenced in: [show references]