Advertisement
specsmegabeedrill

Untitled

Apr 3rd, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. 'use strict';
  2. // info of the server you're trying to connect to
  3. // this has to be filled in
  4. exports.info = {
  5. server: "sim.smogon.com",
  6. port: 8000,
  7. serverid: "showdown",
  8. };
  9.  
  10. // information regarding the bot's login information
  11. // it can be left blank
  12. exports.bot = {
  13. name: "Gennekin",
  14. pass: "",
  15. };
  16.  
  17. // this is the command character used in PMs and public rooms that do not specify what command character they want
  18. exports.defaultCharacter = ["{"];
  19.  
  20. // minimum rank for using a command unless specified.
  21. exports.defaultRank = "%";
  22.  
  23. // If this is disabled, monitor will not run.
  24. exports.monitorDefault = true;
  25.  
  26. // Reload the bot's config file if changes are found as the bot is running.
  27. exports.watchConfig = true;
  28.  
  29. // select what you want displaying on the bot's console.
  30. exports.logging = ["info", "error", "join", "left", "ok", "monitor"];
  31.  
  32. // not yet supported, best to leave empty
  33. exports.secprotocols = [];
  34.  
  35. // order of the ranks, a value of 2 and above means user is staff.
  36. exports.ranks = {
  37. " ": 0,
  38. "+": 1,
  39. //player
  40. "★": 1.3,
  41. //operator
  42. "$": 1.5,
  43. "%": 2,
  44. "@": 3,
  45. "&": 4,
  46. "#": 5,
  47. "~": 6,
  48. };
  49.  
  50. // commands settable using +set
  51. exports.settableCommands = {
  52. "say": true,
  53. "lenny": true,
  54. "games": true,
  55. "addcom": true,
  56. "settings": true,
  57. "banword": true,
  58. "autoban": true,
  59. "usage": true,
  60. };
  61.  
  62. // settable aspects of moderation
  63. exports.modSettings = {
  64. "caps": true,
  65. "flooding": true,
  66. "spam": true,
  67. "face": true,
  68. "stretching": true,
  69. "bannedwords": true,
  70. }
  71.  
  72. // commands that do not trigger monitor
  73. exports.whitelistCommands = {
  74. "g": true,
  75. "pass": true,
  76. };
  77. // commands users can still used when bot locked
  78. // done so that bot locks/mutes do not affect the user.
  79. exports.lockedCommands = {
  80. "set": true,
  81. "autoban": true,
  82. "banword": true,
  83. "regexbanword": true,
  84. "settings": true,
  85. "setprivate": true,
  86. };
  87. // bot rank permissions
  88. // these permissions are only for bot ranks
  89. // defines what moderation each rank is able to do.
  90. exports.permissions = {
  91. " ": new Object(),
  92. "+": {
  93. games: true,
  94. },
  95. "%": {
  96. lock: ["+", " "],
  97. mute: ["+", " "],
  98. games: true,
  99. },
  100. "@": {
  101. lock: ["%", "+", " "],
  102. mute: ["%", "+", " "],
  103. ban: ["%", "+", " "],
  104. games: true,
  105. promote: ["+", " "],
  106. },
  107. "~": {
  108. lock: ["~", "@", "%", "+", " "],
  109. mute: ["~", "@", "%", "+", " "],
  110. ban: ["~", "@", "%", "+", " "],
  111. games: true,
  112. promote: ["@", "%", "+", " "],
  113. bypassall: true,
  114. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement