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

15
LINES

< > BotCompany Repo | #1023438 // Discord Token Detector

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

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

!7

cmodule DiscordTokenDetector > DynPrintLogAndEnabled {
  start {
    dm_vmBus_onMessage_q incomingDiscordMessage(voidfunc(Map map) {
      if (!enabled) ret;
      S s = getString content(map);
      O module = map.get('module);

      LS tokens = extractPossibleDiscordTokens(s);
      if (nempty(tokens))
        dm_call(module, 'reply, map, "That's a Discord token!");
    });
  }
}

Author comment

Began life as a copy of #1023421

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: #1023438
Snippet name: Discord Token Detector
Eternal ID of this version: #1023438/5
Text MD5: 1b88cb7364972bf1ae01f49460beb909
Transpilation MD5: 757ef264884d9aa2d0d8265e13b8388a
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-21 20:27:44
Source code size: 403 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 259 / 388
Version history: 4 change(s)
Referenced in: #1023439 - Discord Token Detector Standalone Bot