Advertisement
Guest User

Untitled

a guest
May 27th, 2015
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.22 KB | None | 0 0
  1. // The WEBSOCKET server and port the bot should connect to.
  2. // Most of the time this isn't the same as the URL, check the `Request URL` of
  3. // the websocket.
  4. // If you really don't know how to do this... Run `node getserver.js URL`.
  5. // Fill in the URL of the client where `URL` is.
  6. // For example: `node getserver.js http://example-server.psim.us/`
  7. exports.server = 'lotus.kota.moe';
  8. exports.port = 80;
  9.  
  10. // This is the server id.
  11. // To know this one, you should check where the AJAX call 'goes' to when you
  12. // log in.
  13. // For example, on the Smogon server, it will say somewhere in the URL
  14. // ~~showdown, meaning that the server id is 'showdown'.
  15. // If you really don't know how to check this... run the said script above.
  16. exports.serverid = 'eos';
  17.  
  18. // The nick and password to log in with
  19. // If no password is required, leave pass empty
  20. exports.nick = 'name';
  21. exports.pass = 'pass';
  22.  
  23. // The rooms that should be joined.
  24. // Joining Smogon's Showdown's Lobby is not allowed.
  25. exports.rooms = ['botparty'];
  26.  
  27. // Any private rooms that should be joined.
  28. // Private rooms will be moderated differently (since /warn doesn't work in them).
  29. // The bot will also avoid leaking the private rooms through .seen
  30. exports.privaterooms = [];
  31.  
  32. // The character text should start with to be seen as a command.
  33. // Note that using / and ! might be 'dangerous' since these are used in
  34. // Showdown itself.
  35. // Using only alphanumeric characters and spaces is not allowed.
  36. exports.commandcharacter = '.';
  37.  
  38. // The default rank is the minimum rank that can use a command in a room when
  39. // no rank is specified in settings.json
  40. exports.defaultrank = '%';
  41.  
  42. // Whether this file should be watched for changes or not.
  43. // If you change this option, the server has to be restarted in order for it to
  44. // take effect.
  45. exports.watchconfig = false;
  46.  
  47. // Secondary websocket protocols should be defined here, however, Showdown
  48. // doesn't support that yet, so it's best to leave this empty.
  49. exports.secprotocols = [];
  50.  
  51. // What should be logged?
  52. // 0 = error, ok, info, debug, recv, send
  53. // 1 = error, ok, info, debug, cmdr, send
  54. // 2 = error, ok, info, debug (recommended for development)
  55. // 3 = error, ok, info (recommended for production)
  56. // 4 = error, ok
  57. // 5 = error
  58. exports.debuglevel = 3;
  59.  
  60. // Users who can use all commands regardless of their rank. Be very cautious
  61. // with this, especially on servers other than main.
  62. exports.excepts = [];
  63.  
  64. // Whitelisted users are those who the bot will not enforce moderation for.
  65. exports.whitelist = [];
  66.  
  67. // Users in this list can use the regex autoban commands. Only add users who know how to write regular expressions and have your complete trust not to abuse the commands.
  68. exports.regexautobanwhitelist = [];
  69.  
  70. // Add a link to the help for the bot here. When there is a link here, .help and .guide
  71. // will link to it.
  72. exports.botguide = '';
  73.  
  74. //This allows the bot to log messages sent by main and send them to the console. Off by default.
  75. exports.logmain = true;
  76.  
  77. //This allows the bot to log PMs sent to it in the console. Off by default.
  78. exports.logpms = true;
  79.  
  80. //Here, you specify the avatar you want the bot to use. Nice and handy if you don't want it to constantly have the default avatar.
  81. exports.avatarNumber = ['41'];
  82.  
  83. // Add a link to the git repository for the bot here for .git to link to.
  84. exports.fork = '';
  85.  
  86. // This allows the bot to act as an automated moderator. If enabled, the bot will
  87. // mute users who send 6 lines or more in 6 or fewer seconds for 7 minutes. NOTE: THIS IS
  88. // BY NO MEANS A PERFECT MODERATOR OR SCRIPT. It is a bot and so cannot think for itself or
  89. // exercise moderator discretion. In addition, it currently uses a very simple method of
  90. // determining who to mute and so may miss people who should be muted, or mute those who
  91. // shouldn't. Use with caution.
  92. exports.allowmute = true;
  93.  
  94. // The punishment values system allows you to customise how you want the bot to deal with
  95. // rulebreakers. Spamming has a points value of 2, all caps has a points value of 1, etc.
  96. exports.punishvals = {
  97. 1: 'warn',
  98. 2: 'mute',
  99. 3: 'hourmute',
  100. 4: 'roomban',
  101. 5: 'ban'
  102. };
  103.  
  104. //This key is used to deliver requests from Google Spreadsheets. Used by the wifi room.
  105. exports.googleapikey = '';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement