Uses 911K of libraries. Click here for Pure Java version (4223L/21K).
1 | !7 |
2 | |
3 | cmodule DiscordTokenDetector > DynPrintLogAndEnabled { |
4 | start { |
5 | dm_vmBus_onMessage_q incomingDiscordMessage(voidfunc(Map map) { |
6 | if (!enabled) ret; |
7 | S s = getString content(map); |
8 | O module = map.get('module); |
9 | |
10 | LS tokens = extractPossibleDiscordTokens(s); |
11 | if (nempty(tokens)) |
12 | dm_call(module, 'reply, map, "That's a Discord token!"); |
13 | }); |
14 | } |
15 | } |
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: | 260 / 390 |
Version history: | 4 change(s) |
Referenced in: | [show references] |