schat2-clive/config/default.js

113 lines
1.8 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'],
2022-10-30 03:21:32 +00:00
games: [
2023-04-08 22:07:16 +00:00
'chat',
2022-10-30 03:21:32 +00:00
'mash',
'trivia',
'letters',
'hunt',
'8ball',
2022-11-02 05:16:17 +00:00
'geo',
2022-10-30 03:21:32 +00:00
'riddle',
'dice',
'rock-paper-scissors',
'duck',
'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',
brown: 'brown',
orange: 'orange',
beige: 'beige',
yellow: 'yellow',
forest: 'forest',
green: 'green',
mint: 'mint',
cyan: 'cyan',
blue: 'blue',
sky: 'sky',
purple: 'purple',
violet: 'violet',
pink: 'pink',
grey: 'shadow',
2022-11-01 04:26:04 +00:00
silver: 'shadow',
},
2023-04-08 22:07:16 +00:00
chat: {
apiKey: null, // OpenAI
validModels: [
'gpt-3.5-turbo',
'text-davinci-003',
'gpt-4',
],
model: 'gpt-3.5-turbo',
history: 3,
rule: 'a tired game host',
rulePublic: true,
},
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: {
timeout: 30,
2022-10-28 03:06:48 +00:00
score: false,
},
2022-10-23 22:25:13 +00:00
dice: {
maxRolls: 20,
2022-10-23 22:25:13 +00:00
maxFaces: 1000,
},
hunt: {
2022-10-30 03:21:32 +00:00
minLength: 5,
maxLength: 9,
guesses: [4, 4, 6, 7, 9],
// guesses: [2, 3, 4, 5, 6, 7], // by word length, last number repeats for longer words
2022-10-30 03:21:32 +00:00
},
2022-11-02 05:16:17 +00:00
geo: {
2022-11-06 01:06:04 +00:00
url: 'https://geo.unknown.name/',
2022-11-02 05:16:17 +00:00
},
};