!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); long channelID = getLong channelID(map); long userID = getLong userID(map); LS tokens = extractPossibleDiscordTokens(s); if (nempty(tokens)) { print("Channel ID: " + channelID); dm_call(module, 'reply, map, "That's a Discord token!"); } }); } }