-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.ts
More file actions
29 lines (27 loc) · 778 Bytes
/
config.ts
File metadata and controls
29 lines (27 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { mongo } from "mongoose";
const UserSettings = {
// Listed as BOT but is actually a user
// each "Setting" is a nice that will sit on the server and proxied through the websocket.
nick : 'nick',
username: 'El encuentro',
gecos: 'El encuentro',
password : '',
realname : 'El encuentro',
channels : [],
host : 'irc.server.com',
port : 6667,
auto_reconnect: false,
auto_reconnect_wait: 10000,
auto_reconnect_max_retries: 1,
mongo : {
host: '127.0.0.1',
port: 27017,
database: 'benderirc',
collections: {
channels: 'channels',
messageQueue: 'messageQueue',
users: 'users'
}
}
};
export default UserSettings;