brainlet-irc/config.js

43 lines
1.6 KiB
JavaScript
Raw Normal View History

2021-01-20 03:53:33 +02:00
module.exports = {
server: "127.0.0.1:3005",
2021-01-25 07:23:34 +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\n" +
"Use \"/msg ChanServ help\" to see how to join and manage channels",
2021-01-20 03:53:33 +02:00
2021-01-21 02:32:08 +02:00
responses: {
NickServ: {
2021-01-25 07:23:34 +02:00
help: `NickServ allows you to use and create a Brainlet account from the IRC server
2021-01-21 02:32:08 +02:00
You can use a command with "/msg NickServ <command> <arguments>"
Commands:
HELP - Shows this message
2021-01-25 07:23:34 +02:00
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`,
2021-01-21 02:32:08 +02:00
// Sent on invalid command
invalid: "Invalid command. Use \"/msg NickServ help\" for help",
2021-01-25 07:23:34 +02:00
},
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`,
2021-01-21 02:32:08 +02:00
2021-01-25 07:23:34 +02:00
// 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"
2021-01-21 02:32:08 +02:00
}
2021-01-25 07:23:34 +02:00
},
bots: ["NickServ", "ChanServ", "MsgServ"]
2021-01-20 03:53:33 +02:00
}