Advertisement
throwawayrobot

lib/net.lua

Feb 20th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.81 KB | None | 0 0
  1. local remote = {}
  2. remote.protocol = {}
  3. remote.entity = {}
  4. remote.exception = {}
  5.  
  6. remote.protocol.irc = {}
  7. remote.protocol.http = {}
  8.  
  9. remote.entity.hub = {
  10.   send = function(self)
  11.   end;
  12.   auth = function(self)
  13.   end;
  14.   command = function(self)
  15.   end;
  16.   broadcast = function(self)
  17.   end;
  18.   link = function(self)
  19.   end;
  20. }
  21. remote.entity.bot = {
  22.   connect = function(self)
  23.   end;
  24.   receive = function(self)
  25.   end;
  26.   request = function(self)
  27.   end;
  28. }
  29.  
  30. --[[
  31. [14:02] <throwawayrobot> .bot list
  32. [14:02] <hive> Name           Type    Channel              Identity     Ping
  33. [14:02] <hive> + hive         Hub     irc:channel          ff000000     3 ms
  34. [14:02] <hive> | + Main Base  Hub     minecraft:computer   c1f476ab    80 ms
  35. [14:02] <hive> | | - Sonny    Slave   minecraft:robot      ef3ab831   113 ms
  36. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement