Uses 5909K of libraries. Click here for Pure Java version (8859L/45K).
!7 cmodule SpeechToDiscord extends DynDiscordHopper { transient TimedCache<S> last = new(5.0); start { dm_onUserUtterance(s -> { ret if !enabled || emptyOrEqAny(s, last!, "?"); last.set(s); postInChannel(preferredChannelID, s); }); } }
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: | #1025621 |
Snippet name: | Speech To Discord [sometimes LIVE as Dr. Asimov] |
Eternal ID of this version: | #1025621/3 |
Text MD5: | bf9137dae9f2bd63b90da360c8e1980d |
Transpilation MD5: | 59dd0df96a737dc46f46ac8d30759354 |
Author: | stefan |
Category: | |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-09 13:52:37 |
Source code size: | 285 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 292 / 796 |
Version history: | 2 change(s) |
Referenced in: | #1025795 - Discord Philosophy Java Spike |