Guest User

Config file

a guest
Mar 13th, 2018
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. 'use strict';
  2. // Server you want to connect
  3. exports.info = {
  4. server: "sim.smogon.com",
  5. port: 8000,
  6. serverid: "showdown"
  7. };
  8. // Bot username and password
  9. exports.bot = {
  10. name: "De-Bait",
  11. pass: "",
  12. };
  13. // Default command character
  14. const defaultCharacter = exports.defaultCharacter = ["."];
  15. // default rank to use bot before doing any ranks
  16. exports.defaultRank = "@";
  17. // When someone PMs Bot
  18. exports.pmMessage = 'Sorry, I am a bot! Use ' + defaultCharacter[0] + ' guide to view a list of some of my commands! Have a nice day!';
  19.  
  20. exports.customRank = {
  21. "broadcast": "+",
  22. "managegames": "#",
  23. };
  24. exports.monitorDefault = true;
  25.  
  26. exports.watchConfig = true;
  27. // log() messages
  28. exports.logging = ["info", "error", "join", "left", "ok", "monitor", "debate"];
  29.  
  30. exports.secprotocols = [];
  31. // Bot guide
  32. exports.guide = '';
  33. // Bot ranks including host
  34. exports.ranks = {
  35. " ": 0,
  36. // Debate host
  37. "host": 0.5,
  38. "+": 1,
  39. //player
  40. "★": 1.3,
  41. "%": 2,
  42. "@": 3,
  43. "*": 3.5,
  44. "&": 4,
  45. "#": 5,
  46. "~": 6,
  47. };
  48. // commands that can be set
  49. exports.settableCommands = {
  50. "say": true,
  51. "debate": true,
  52. "addcom": true,
  53. "settings": true,
  54. "banword": true,
  55. "autoban": true,
  56. };
  57. // Moderations settings
  58. exports.modSettings = {
  59. "caps": true,
  60. "flooding": true,
  61. "spam": true,
  62. "face": true,
  63. "stretching": true,
  64. "bannedwords": true
  65. };
  66.  
  67. // commands that do not trigger monitor
  68. exports.whitelistCommands = {
  69. // "command": true,
  70. };
  71. // commands users can still used when bot locked
  72. // done so that bot locks/mutes do not affect the user.
  73. exports.lockedCommands = {
  74. "set": true,
  75. "autoban": true,
  76. "banword": true,
  77. "regexbanword": true,
  78. "settings": true,
  79. "setprivate": true,
  80. "ai": true
  81. };
  82.  
  83. // whether or not the bot will answer people.
  84. exports.AIEnabled = false;
  85.  
  86. exports.permissions = {
  87. " ": new Object(),
  88. "host": {
  89. games: true,
  90. promote: [" "],
  91. },
  92. "+": {
  93. games: true,
  94. promote: ["host", " "],
  95. },
  96. "%": {
  97. lock: [" "],
  98. mute: [" "],
  99. games: true,
  100. promote: ["host", " "],
  101. },
  102. "@": {
  103. lock: ["+", " "],
  104. mute: ["%", "+", " "],
  105. ban: ["%", "+", " "],
  106. games: true,
  107. promote: ["host", " "],
  108. },
  109. "~": {
  110. lock: ["~", "@", "%", "+", " "],
  111. mute: ["~", "@", "%", "+", " "],
  112. ban: ["~", "@", "%", "+", " "],
  113. games: true,
  114. promote: ["@", "%", "+", " ", "host"],
  115. bypassall: true,
  116. },
  117. };
Add Comment
Please, Sign In to add comment