schat2-clive/config/default.js

69 lines
1.2 KiB
JavaScript
Raw Normal View History

'use strict';
module.exports = {
2022-10-18 23:24:13 +00:00
platform: 'schat',
2021-11-04 00:51:43 +00:00
user: {
id: 'aisha',
2022-10-17 02:06:55 +00:00
username: 'Aisha',
realName: 'Aisha',
2021-11-04 00:51:43 +00:00
},
2022-10-19 22:07:48 +00:00
style: {
// color: 'var(--message-56)',
2022-10-19 22:07:48 +00:00
},
operators: ['admin'],
2022-10-17 02:06:55 +00:00
server: 'irc.libera.chat',
port: 6697,
socket: 'ws://127.0.0.1:3000/socket',
api: 'http://127.0.0.1:3000/api',
2021-11-06 00:33:52 +00:00
reconnectDelay: 10, // seconds
2021-11-04 00:51:43 +00:00
prefix: '~',
2022-10-18 23:24:13 +00:00
labels: true,
greeting: 'Hi, I am aisha, your game host!',
2022-10-17 02:06:55 +00:00
usernamePrefix: '@',
channels: ['GamesNight'],
games: ['mash', 'trivia', 'letters', 'duck', '8ball', 'riddle', 'dice', 'rock-paper-scissors', 'ping', 'say', 'kill', 'uptime', 'help'],
schatColors: {
2022-10-27 22:22:00 +00:00
white: 'white',
blue: 'var(--message-40)',
2022-10-27 22:33:38 +00:00
navy: 'var(--message-40)',
2022-10-27 22:22:00 +00:00
},
schatColorAliases: {
red: 'red',
orange: 'orange',
yellow: 'yellow',
green: 'green',
cyan: 'cyan',
blue: 'blue',
purple: 'purple',
magenta: 'magenta',
pink: 'pink',
grey: 'shadow',
},
2021-11-06 00:33:52 +00:00
trivia: {
mode: 'first', // first or timeout
rounds: 10,
timeout: 60,
bounds: {
rounds: [1, 30],
timeout: [5, 300],
},
2021-11-06 00:33:52 +00:00
},
duck: {
interval: [10, 3600], // seconds
2022-10-17 02:06:55 +00:00
duck: ':duck:',
missRatio: 0.25,
},
2022-10-20 03:38:47 +00:00
letters: {
length: 9,
timeout: 60,
2022-10-20 03:38:47 +00:00
},
2022-10-28 03:06:48 +00:00
riddle: {
2022-10-28 03:12:33 +00:00
timeout: 20,
2022-10-28 03:06:48 +00:00
score: false,
},
2022-10-23 22:25:13 +00:00
dice: {
maxRolls: 10,
maxFaces: 1000,
},
};