Guest User

Untitled

a guest
May 7th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. exports.config = {
  2.   // these are global settings that take presidence over net/channel settings
  3.   global:{
  4.     owner:{
  5.       nick: "SReject",
  6.       pass: "password"
  7.     }
  8.     // more junk to be added as I figure it out
  9.   }
  10.  
  11.   // These are the default connection settings.
  12.   //    They are overridden for a connection if specified in that connection's 'conn' block
  13.   default:{
  14.     bindaddr: "",
  15.     bindport: 0,
  16.     acon: false,
  17.     nick: ['SRBot','SRB0t','SRBo7'],
  18.     user: "Rejectd",
  19.     name: "SReject\'s nodejs test Bot",
  20.     mode: "+i",
  21.     chan: [
  22.       {
  23.         name: "#SRTest",
  24.         tlock: {
  25.           enabled: true,
  26.           topic: "Go away, I'm just testing"
  27.         }
  28.         mlock:{
  29.           enabled: true,
  30.           mode: "+ism"
  31.         }
  32.       }
  33.     ],
  34.   },
  35.  
  36.  
  37.   conn:[
  38.     // These are each connections' settings.
  39.     //   You can override defaults here.
  40.     {
  41.       users: './users/swiftirc.js',
  42.       acon: true,
  43.       serv:[
  44.         {
  45.           hostaddress: "irc.swiftIRC.net",
  46.           ports: [6666,6667]
  47.         }
  48.       ],
  49.     },
  50.  
  51.  
  52.     {
  53.       users: './users/dalnet.js',
  54.       acon: true,
  55.       serv:[
  56.         {
  57.           addr: "irc.dal.net",
  58.           port: [6666,6667,6668]
  59.         }
  60.       ]
  61.     }
  62.   ]
  63. };
Add Comment
Please, Sign In to add comment