How to write a bot that stores information derived from user postings. On startup: -Get messages from everywhere -Get your own internal notes -Scan all the messages and all the notes for information The idea is that the bot doesn't need persistence if it builds its structures from the messages the same way every time. On new message: -Scan message for information -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: | 646 / 154 |
Referenced in: | #3000202 - Answer for stefanreich (>> T conversion bot) #3000238 - Answer for stefanreich (>> t power bot) #3000382 - Answer for ferdie (>> t = 1, f = 0) |