User Tools

Site Tools


ircbot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ircbot [2014/08/18 19:21]
mfa298
ircbot [2014/08/29 20:59] (current)
mfa298
Line 2: Line 2:
 We now have a basic IRC bot (Latobius((http://​en.wikipedia.org/​wiki/​Latobius))) for the #ukhasnet channel. At present it doesn'​t do much (apart from logging channel activity) but the aim is to make it do useful stuff (querying node information and providing interactive updates for interesting nodes e.g. Balloons and Sea Bouys). We now have a basic IRC bot (Latobius((http://​en.wikipedia.org/​wiki/​Latobius))) for the #ukhasnet channel. At present it doesn'​t do much (apart from logging channel activity) but the aim is to make it do useful stuff (querying node information and providing interactive updates for interesting nodes e.g. Balloons and Sea Bouys).
  
-====== Commands ====== +====== ​Implemented ​Commands ====== 
-This is the initially planned listOther suggestions ​are welcome.+===== !node ===== 
 +<​code>​!node <​NODE></​code>​ 
 +List details from a node. At present this will show which gateways uploaded the most recent packet and when it was received. 
 +Example: 
 +<​code>​ 
 +20:26 < mfa298> !node P01 
 +20:26 -Latobius:#​ukhasnet- Node P01, Uploaded by DB01 at 2014-08-29 15:​37:​54.96105 id is 1188446, Uploaded by DB01 at 2014-08-29 15:​37:​55.68918 id is 1188447 
 +</​code>​ 
 +This shows that the node P01 was received twice via DB01 (these are via different paths)In future the paths will be listed and it will be possible to get the uploaded packet via the !upload command 
 + 
 +====== In progress Commands ====== 
 +These commands ​are currently being worked on 
 +===== !msg ===== 
 +<​code>​!msg <​NODE>​@<​GATEWAY>​ <​MESSAGE></​code>​ 
 +Send a message to a particular node 
 +Needs Bot code finalising and updates to API and gateway code 
 +===== !upload ===== 
 +<​code>​!upload <​ID></​code>​ 
 +This will show the raw packet as received by the gateway and uploaded to the API. 
 + 
 +====== Planned Commands ======
  
 ===== !follow (not implimented) ===== ===== !follow (not implimented) =====
Line 13: Line 33:
  
 It should be possible to use the command from a PM with fewer limits (some rate limiting may still be applied) It should be possible to use the command from a PM with fewer limits (some rate limiting may still be applied)
- 
-===== !node (not implimented) ===== 
-<​code>​!node <​NODE></​code>​ 
-list details from a specific node (last seen, most recent packet) 
- 
-===== !msg(partly Implimented) ===== 
-<​code>​!msg <​NODE>​@<​GATEWAY>​ <​MESSAGE></​code>​ 
-Send a message to a particular node 
-Needs Bot code finalising and updates to API and gateway code 
  
 ===== !seen (not implimented) ===== ===== !seen (not implimented) =====
Line 30: Line 41:
 <​code>​!admin <CMD> <​ARGS></​code>​ <​code>​!admin <CMD> <​ARGS></​code>​
 Admin functions for the bot. Limited to certain people (for obvious reasons) Admin functions for the bot. Limited to certain people (for obvious reasons)
 +
 +====== Easter Eggs ======
 +Some (potentially planned) commands may already respond in a possibly witty way. Finding these is left to the reader.
  
 ====== Twitter Following ====== ====== Twitter Following ======
ircbot.txt · Last modified: 2014/08/29 20:59 by mfa298