Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. [
  2. // Bot 2 (advanced options):
  3. {
  4. "autoSendCommands": [ // Commands that will be sent on connect
  5. ["PRIVMSG", "p@cservice.netgamers.org", "login discobot startrek"],
  6. ["MODE", "Discobot", "+x"],
  7. ["PRIVMSG", "p", "invite #nd"],
  8. ["PRIVMSG", "p", "invite #holebiprive"],
  9. ["PRIVMSG", "delling", "invite"]
  10.  
  11.  
  12. ],
  13. "nickname": "Discobot",
  14. "server": "irc.netgamers.org",
  15. "discordToken": "REDACTED",
  16. "channelMapping": {
  17. "543061613066977290": "#nd",
  18. "557916850416254987": "#ndawn",
  19. "545044369934123038": "#holebiprive",
  20. "539253413226086413": "#newdawn"
  21. },
  22. "ircOptions": { // Optional node-irc options
  23. "floodProtection": false, // On by default
  24. "floodProtectionDelay": 1000 // 500 by default
  25.  
  26.  
  27. },
  28. "format": { // Optional custom formatting options
  29. // Patterns, represented by {$patternName}, are replaced when sending messages
  30. "commandPrelude": "Command sent by {$nickname}", // Message sent before a command
  31. "ircText": "<{$displayUsername}> {$text}", // When sending a message to IRC
  32. "urlAttachment": "<{$displayUsername}> {$attachmentURL}", // When sending a Discord attachment to IRC
  33. "discord": "**<{$author}>** {$withMentions}" // When sending a message to Discord
  34. // Other patterns that can be used:
  35. // {$discordChannel} (e.g. #general)
  36. // {$ircChannel} (e.g. #irc)
  37. },
  38. "ircNickColor": false, // Gives usernames a color in IRC for better readability (on by default)
  39. // Makes the bot hide the username prefix for messages that start
  40. // with one of these characters (commands):
  41. "commandCharacters": ["~"],
  42. "ircStatusNotices": false, // Enables notifications in Discord when people join/part in the relevant IRC channel
  43. "ignoreUsers": {
  44. "irc": ["irc_nick1", "irc_nick2"], // Ignore specified IRC nicks and do not send their messages to Discord.
  45. "discord": ["discord_nick1", "discord_nick2"] // Ignore specified Discord nicks and do not send their messages to IRC.
  46. }
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement