static long gazelle_contextToMsgID(S s) { new Matches m; if (startsWith(s, "discord msg ", m)) ret parseLong(m.rest()); if (startsWith(s, "slack ", m)) ret parseLong(m.rest().replace(".", "")); ret 0; }
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: | #1022523 |
Snippet name: | gazelle_contextToMsgID |
Eternal ID of this version: | #1022523/1 |
Text MD5: | e8cab9dc89829d66423cf2dabc70dbbd |
Author: | stefan |
Category: | javax / gazelle |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-20 11:06:05 |
Source code size: | 225 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 253 / 285 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |