brainlet-irc/config.js
2021-01-25 00:23:34 -05:00

42 lines
1.6 KiB
JavaScript

module.exports = {
server: "127.0.0.1:3005",
motd: "A Brainlet to IRC translation layer\n" +
"SECURITY WARNING: The traffic to the Brainlet server is not encrypted\n" +
"Use \"/msg NickServ help\" to see how to use an account\n" +
"Use \"/msg ChanServ help\" to see how to join and manage channels",
responses: {
NickServ: {
help: `NickServ allows you to use and create a Brainlet account from the IRC server
You can use a command with "/msg NickServ <command> <arguments>"
Commands:
HELP - Shows this message
REGISTER <password> <email> - Creates an account, using your current nick as the username
Note: The email is not directly used by the IRC server, but could be used by the Brainlet host
IDENTIFY <name> <password> - Logs into an account`,
// Sent on invalid command
invalid: "Invalid command. Use \"/msg NickServ help\" for help",
},
ChanServ: {
help: `ChanServ syncs channel information between a Brainlet instance and the IRC server
You may get channel invites from ChanServ, as each channel is invite-only to require you to log in
You can use a command with "/msg ChanServ <command> <arguments>
Commands:
HELP - Shows this message
INVITE - Get invited to every channel, as each channel is invite only
CREATE <category name> - Creates a category`,
// Sent on invalid command
invalid: "Invalid command. Use \"/msg ChanServ help\" for help",
// Sent when using a command requiring authentication without being logged in
accessDenied: "You must log in before using this command. Use \"/msg NickServ help\" to see how to log in"
}
},
bots: ["NickServ", "ChanServ", "MsgServ"]
}