2021-10-31 21:33:18 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
module.exports = {
|
2022-10-18 23:24:13 +00:00
|
|
|
platform: 'schat',
|
2021-11-04 00:51:43 +00:00
|
|
|
user: {
|
2022-10-21 20:11:31 +00:00
|
|
|
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: {
|
2022-10-21 20:11:31 +00:00
|
|
|
// color: 'var(--message-56)',
|
2022-10-19 22:07:48 +00:00
|
|
|
},
|
2021-11-15 19:44:34 +00:00
|
|
|
operators: ['admin'],
|
2022-10-17 02:06:55 +00:00
|
|
|
server: 'irc.libera.chat',
|
|
|
|
port: 6697,
|
2022-10-21 20:11:31 +00:00
|
|
|
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,
|
2022-10-17 22:08:17 +00:00
|
|
|
greeting: 'Hi, I am aisha, your game host!',
|
2022-10-17 02:06:55 +00:00
|
|
|
usernamePrefix: '@',
|
2022-10-21 20:11:31 +00:00
|
|
|
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',
|
|
|
|
],
|
2022-10-21 20:11:31 +00:00
|
|
|
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: {
|
2022-10-23 00:46:41 +00:00
|
|
|
red: 'red',
|
2022-11-01 04:59:17 +00:00
|
|
|
brown: 'brown',
|
2022-10-23 00:46:41 +00:00
|
|
|
orange: 'orange',
|
2022-11-01 04:59:17 +00:00
|
|
|
beige: 'beige',
|
2022-10-23 00:46:41 +00:00
|
|
|
yellow: 'yellow',
|
2022-11-01 04:59:17 +00:00
|
|
|
forest: 'forest',
|
2022-10-23 00:46:41 +00:00
|
|
|
green: 'green',
|
2022-11-01 04:59:17 +00:00
|
|
|
mint: 'mint',
|
2022-10-23 00:46:41 +00:00
|
|
|
cyan: 'cyan',
|
|
|
|
blue: 'blue',
|
2022-11-01 04:59:17 +00:00
|
|
|
sky: 'sky',
|
2022-10-23 00:46:41 +00:00
|
|
|
purple: 'purple',
|
2022-11-01 04:59:17 +00:00
|
|
|
violet: 'violet',
|
2022-10-23 00:46:41 +00:00
|
|
|
pink: 'pink',
|
|
|
|
grey: 'shadow',
|
2022-11-01 04:26:04 +00:00
|
|
|
silver: 'shadow',
|
2022-10-21 20:11:31 +00:00
|
|
|
},
|
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',
|
2023-04-08 23:44:22 +00:00
|
|
|
replyTokenLimit: 200,
|
|
|
|
userTokenLimit: 20000, // daily, roughly 100+ messages or $0.04 per user
|
|
|
|
userTokenPeriod: 24, // hours
|
|
|
|
temperature: 1,
|
2023-04-08 22:07:16 +00:00
|
|
|
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,
|
2021-11-14 18:55:14 +00:00
|
|
|
timeout: 60,
|
2022-10-20 00:45:15 +00:00
|
|
|
bounds: {
|
|
|
|
rounds: [1, 30],
|
|
|
|
timeout: [5, 300],
|
|
|
|
},
|
2021-11-06 00:33:52 +00:00
|
|
|
},
|
2021-11-12 15:43:20 +00:00
|
|
|
duck: {
|
|
|
|
interval: [10, 3600], // seconds
|
2022-10-17 02:06:55 +00:00
|
|
|
duck: ':duck:',
|
2022-10-21 20:44:31 +00:00
|
|
|
missRatio: 0.25,
|
2021-11-12 15:43:20 +00:00
|
|
|
},
|
2022-10-20 03:38:47 +00:00
|
|
|
letters: {
|
|
|
|
length: 9,
|
2022-10-21 17:38:39 +00:00
|
|
|
timeout: 60,
|
2022-10-20 03:38:47 +00:00
|
|
|
},
|
2022-10-28 03:06:48 +00:00
|
|
|
riddle: {
|
2022-11-01 23:34:03 +00:00
|
|
|
timeout: 30,
|
2022-10-28 03:06:48 +00:00
|
|
|
score: false,
|
|
|
|
},
|
2022-10-23 22:25:13 +00:00
|
|
|
dice: {
|
2022-11-01 23:34:03 +00:00
|
|
|
maxRolls: 20,
|
2022-10-23 22:25:13 +00:00
|
|
|
maxFaces: 1000,
|
|
|
|
},
|
2022-11-01 23:34:03 +00:00
|
|
|
hunt: {
|
2022-10-30 03:21:32 +00:00
|
|
|
minLength: 5,
|
|
|
|
maxLength: 9,
|
2022-11-01 23:34:03 +00:00
|
|
|
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
|
|
|
},
|
2021-10-31 21:33:18 +00:00
|
|
|
};
|