brainlet-irc/config.js

34 lines
1.1 KiB
JavaScript
Raw Normal View History

2021-01-20 03:53:33 +02:00
module.exports = {
server: "127.0.0.1:3005",
spectator: {
name: "BrainletToIrcSpectator",
password: "Put a secure password here. See the README for more info"
},
2021-01-21 02:32:08 +02:00
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",
2021-01-20 03:53:33 +02:00
2021-01-21 02:32:08 +02:00
responses: {
NickServ: {
help: `NickServ allows you to use and create a Brainlet account from IRC.
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 IRC, but may 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",
// Sent on an invalid entry.
// %s is replaced with how it's invalid.
invalidName: "Invalid username specified. %s",
invalidEmail: "Invalid email specified. %s",
invalidPassword: "Invalid password specified. %s"
}
}
2021-01-20 03:53:33 +02:00
}