1 | How to write a bot that stores information derived from user postings. |
2 | |
3 | On startup: |
4 | -Get messages from everywhere |
5 | -Get your own internal notes |
6 | -Scan all the messages and all the notes for information |
7 | |
8 | The idea is that the bot doesn't need persistence if it builds its structures from the messages the same way every time. |
9 | |
10 | On new message: |
11 | -Scan message for information |
12 | -Process question (if it is a question) |
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001977 |
Snippet name: | How to write a bot that stores information derived from user postings |
Eternal ID of this version: | #1001977/1 |
Text MD5: | 0bd9627b07d8a0ffae1457fc08b54e7e |
Author: | stefan |
Category: | javax |
Type: | Document |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-12-10 20:19:34 |
Source code size: | 429 bytes / 12 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 645 / 153 |
Referenced in: | [show references] |