1 | sS factStore_cmds(SimpleFactStore factStore, S s, bool allowChanges) { |
2 | if (allowChanges) { |
3 | if "clear facts" { factStore.clear(); ret "OK"; } |
4 | } |
5 | |
6 | if "list facts" { |
7 | ret ai_bracketUsersToDiscordAt(lines(factStore.facts())); |
8 | } |
9 | |
10 | null; |
11 | } |
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: | #1025765 |
Snippet name: | factStore_cmds |
Eternal ID of this version: | #1025765/3 |
Text MD5: | d0576340643560acd23cc988ec8b6374 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-18 22:06:26 |
Source code size: | 262 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 225 / 253 |
Version history: | 2 change(s) |
Referenced in: | [show references] |