Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- // Bot 2 (advanced options):
- {
- "autoSendCommands": [ // Commands that will be sent on connect
- ["PRIVMSG", "p@cservice.netgamers.org", "login discobot startrek"],
- ["MODE", "Discobot", "+x"],
- ["PRIVMSG", "p", "invite #nd"],
- ["PRIVMSG", "p", "invite #holebiprive"],
- ["PRIVMSG", "delling", "invite"]
- ],
- "nickname": "Discobot",
- "server": "irc.netgamers.org",
- "discordToken": "REDACTED",
- "channelMapping": {
- "543061613066977290": "#nd",
- "557916850416254987": "#ndawn",
- "545044369934123038": "#holebiprive",
- "539253413226086413": "#newdawn"
- },
- "ircOptions": { // Optional node-irc options
- "floodProtection": false, // On by default
- "floodProtectionDelay": 1000 // 500 by default
- },
- "format": { // Optional custom formatting options
- // Patterns, represented by {$patternName}, are replaced when sending messages
- "commandPrelude": "Command sent by {$nickname}", // Message sent before a command
- "ircText": "<{$displayUsername}> {$text}", // When sending a message to IRC
- "urlAttachment": "<{$displayUsername}> {$attachmentURL}", // When sending a Discord attachment to IRC
- "discord": "**<{$author}>** {$withMentions}" // When sending a message to Discord
- // Other patterns that can be used:
- // {$discordChannel} (e.g. #general)
- // {$ircChannel} (e.g. #irc)
- },
- "ircNickColor": false, // Gives usernames a color in IRC for better readability (on by default)
- // Makes the bot hide the username prefix for messages that start
- // with one of these characters (commands):
- "commandCharacters": ["~"],
- "ircStatusNotices": false, // Enables notifications in Discord when people join/part in the relevant IRC channel
- "ignoreUsers": {
- "irc": ["irc_nick1", "irc_nick2"], // Ignore specified IRC nicks and do not send their messages to Discord.
- "discord": ["discord_nick1", "discord_nick2"] // Ignore specified Discord nicks and do not send their messages to IRC.
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement