Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1001977 // How to write a bot that stores information derived from user postings

Document

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)

download  show line numbers   

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: 643 / 152
Referenced in: [show references]