Commit Graph

183 Commits

Author SHA1 Message Date
Niels Simenon 68cefc0e2a Added word limit to chat bot. 2023-04-09 22:47:19 +02:00
Niels Simenon c4d328b409 Passing user identifier to OpenAI API. 2023-04-09 16:04:19 +02:00
Niels Simenon ef30c41758 Added username parameter to chat token, tracking by username. 2023-04-09 15:54:39 +02:00
Niels Simenon 4b8077f7e7 Fixed token text error. 2023-04-09 15:48:30 +02:00
Niels Simenon ad7f1f548e Increased default chat cut-off. 2023-04-09 15:45:41 +02:00
Niels Simenon a946e0447b Using instance name for local database. 2023-04-09 02:01:58 +02:00
Niels Simenon e5a10d8059 Added knex module. 2023-04-09 01:54:25 +02:00
Niels Simenon 21a90a51cf Added token limits to OpenAI chat. 2023-04-09 01:44:22 +02:00
Niels Simenon 8f37ee145e Fixed chat prompt regex breaking if no username prefix is configured. 2023-04-09 00:20:29 +02:00
Niels Simenon 3a660a0c1c Updated recommended node version. Added hostname to system uptime. 2023-04-09 00:14:35 +02:00
Niels Simenon c17c51dcd1 Added OpenAI chat bot. 2023-04-09 00:07:16 +02:00
Niels Simenon 6c3a887f3f Hinting punctuation in Trivia. 2023-02-02 01:45:37 +01:00
Niels Simenon 174dfdedfa Using room users API. 2022-11-26 17:53:27 +01:00
Niels Simenon 87f2e81794 Fixed checking username on non-existent user. 2022-11-26 16:49:29 +01:00
Niels Simenon d624602a1d Added JavaScript 'game'. 2022-11-08 22:21:43 +01:00
Niels Simenon 18572df506 Fixed countries mode in Geo. 2022-11-06 16:58:44 +01:00
Niels Simenon 4727217b88 Added flags to Geo. 2022-11-06 16:14:14 +01:00
Niels Simenon cdfcd8e4fa Added coin to dice. 2022-11-06 03:11:39 +01:00
Niels Simenon 803e44dd84 Updated help for Geo. 2022-11-06 02:07:31 +01:00
Niels Simenon d41a0384d6 Added US states to Geo game. 2022-11-06 02:06:04 +01:00
Niels Simenon 97a76fd88c Updated curated country file. 2022-11-03 16:45:49 +01:00
Niels Simenon c1b8340268 Curated Geo country file, improved hint letter spacing. 2022-11-02 22:20:36 +01:00
Niels Simenon 43d307f68c Swapped URL and question in Geo. 2022-11-02 20:59:35 +01:00
Niels Simenon 631dc58d3c Added question rotation to Geo. 2022-11-02 20:56:06 +01:00
Niels Simenon 210155305c Disabled various small island countries, added hint to Geo. 2022-11-02 20:46:47 +01:00
Niels Simenon 036feb12a5 Added Geo game. 2022-11-02 06:16:17 +01:00
Niels Simenon 09d069dec1 Help module can give game-specific help. 2022-11-02 01:20:19 +01:00
Niels Simenon baa2246245 Added question skip to trivia. 2022-11-02 01:09:02 +01:00
Niels Simenon 46c61e2a92 Fixed dice excluding last face, increased max rolls to 20. Increased default number of Hunt guesses. Increased default Riddle timeout. 2022-11-02 00:34:03 +01:00
Niels Simenon 53022278c9 Added ground track to Hunt, added new SChat 2 colors. 2022-11-01 05:59:17 +01:00
Niels Simenon 3c42807f62 Removed Parrot from default config, expanded Hunt help text. 2022-11-01 05:40:58 +01:00
Niels Simenon d8e4e4f0a2 Expanded letters help text. 2022-11-01 05:34:25 +01:00
Niels Simenon 505b2449ba Added ~letsgo shortcut to the letters. 2022-11-01 05:31:05 +01:00
Niels Simenon 007773f38c Fixed style bypass. 2022-11-01 05:26:04 +01:00
Niels Simenon 89dc51e3e9 Added username color to Hunt point award. 2022-10-30 05:03:11 +01:00
Niels Simenon c3f1b59416 Hunt only listeners for closely matching words, fixed completion not awarding points, added help. 2022-10-30 04:59:14 +01:00
Niels Simenon b4add9e11d Added Hunt (hangman) game. 2022-10-30 04:21:32 +01:00
Niels Simenon 02da8f7705 Changed riddle timeout to seconds. 2022-10-28 05:12:33 +02:00
Niels Simenon 33c7b25bd2 Added riddles. 2022-10-28 05:06:48 +02:00
Niels Simenon 6ebe1cf4aa Added riddles outline. 2022-10-28 03:45:50 +02:00
Niels Simenon dc6df7c344 Added letter generator to letters game. 2022-10-28 03:44:09 +02:00
Niels Simenon 809e79affe Improved 8-ball punctuation handling. 2022-10-28 03:26:36 +02:00
Niels Simenon 335bd55a91 Accepting punctuation as part of a 8ball question. 2022-10-28 03:17:09 +02:00
Niels Simenon 8617ab9d8b Fixed disproportionate 8 ball answers. 2022-10-28 02:22:14 +02:00
Niels Simenon 32e842957b Improved 8 ball styling. 2022-10-28 02:00:03 +02:00
Niels Simenon ab20d76a98 Using black corners for IRC 8 ball answer. 2022-10-28 00:28:14 +02:00
Niels Simenon acf60eeca0 Added Magic 8-Ball game. 2022-10-28 00:22:00 +02:00
ThePendulum 34fb977e77 Actually fixed rock paper scissors emoji input. 2022-10-24 23:00:05 +02:00
ThePendulum 3039471764 Fixed rock paper scissors emoji input. 2022-10-24 22:57:08 +02:00
ThePendulum 7c71bea4cc Added operator to help command. 2022-10-24 20:31:27 +02:00
ThePendulum 2c2e7ee532 Defaulting negative dice inputs. 2022-10-24 02:47:39 +02:00
ThePendulum 313b473aba Supported 1d6 dice input. 2022-10-24 02:37:32 +02:00
ThePendulum f9708a1a77 Filtering out unavailable commands from help. 2022-10-24 02:10:07 +02:00
ThePendulum 6428c01e6c Added Rock, Paper, Scissors. 2022-10-24 01:55:30 +02:00
ThePendulum 4ef8b55021 Fixed leaderboard dumping every single player. 2022-10-24 00:53:32 +02:00
ThePendulum 4d324993fd Changed fallback die face. 2022-10-24 00:50:37 +02:00
ThePendulum e161767828 Added die for too many faces. 2022-10-24 00:47:02 +02:00
ThePendulum 0beb429c09 Improved Dice layout. 2022-10-24 00:33:20 +02:00
ThePendulum ef5b6ad856 Added dice. 2022-10-24 00:25:13 +02:00
ThePendulum 5d58d434b8 Fix leaderboard showing undefined and pinging everyone. 2022-10-23 23:40:52 +02:00
ThePendulum 231898fe98 Changed help message. 2022-10-23 23:30:33 +02:00
ThePendulum be4ee96847 Fixed leaderboard first name color. 2022-10-23 21:53:59 +02:00
ThePendulum d36180c8b0 Added uptime module. 2022-10-23 05:03:18 +02:00
ThePendulum 6c3c442652 Added SChat code support, used in Letters board. Shielding style methods from empty inputs. 2022-10-23 03:25:39 +02:00
ThePendulum c4c2fa8472 Fixed Letters trying to retrieve non-existent room data. 2022-10-23 02:49:28 +02:00
ThePendulum be2e3c8a00 Updated SChat color styling. Censoring answers in Mash hints. Restored Letters board. 2022-10-23 02:46:41 +02:00
ThePendulum 954043b16a Added :commands as standard help subcommand alias. 2022-10-22 01:33:50 +02:00
ThePendulum cd133bb8bc Added help commands. 2022-10-22 01:23:11 +02:00
ThePendulum 73646482c9 Added random pick module. 2022-10-21 22:52:13 +02:00
ThePendulum 741f770d27 Centralized array random pick. Made duck miss ratio configurable. Different response for missing Duck befriend and bang. 2022-10-21 22:44:31 +02:00
ThePendulum e49429784e Added HTML colors for SChat. Adapted Letters game for SChat. 2022-10-21 22:11:31 +02:00
ThePendulum 70ad422dfa Bold time's up in Letters. 2022-10-21 20:24:27 +02:00
ThePendulum 25a196e569 Improved Letters game shuffle, board layout and minimum word length. 2022-10-21 19:38:39 +02:00
ThePendulum a9347ddd3a Adapted kill command for IRC. 2022-10-21 05:21:27 +02:00
ThePendulum 55343d5de7 Added playable round to letters game. 2022-10-21 05:07:32 +02:00
ThePendulum 6701f5e5a1 Added stub for letters game. 2022-10-20 05:38:47 +02:00
ThePendulum 5792a0799a Not hinting first letter for Trivia answers shorter than 3 characters. 2022-10-20 03:00:46 +02:00
ThePendulum 2daf52477d Added boundaries to Trivia rounds and timeout. 2022-10-20 02:45:15 +02:00
ThePendulum 6831330e35 Added mash dictionary and resolve as direct commands, preventing using resolve on current mash. 2022-10-20 02:16:03 +02:00
ThePendulum ec1fc7b553 Fixed point initation. 2022-10-20 00:07:48 +02:00
ThePendulum ad782a5126 Merged SChat and IRC support. 2022-10-19 01:24:13 +02:00
ThePendulum 809102f2fe Adapted say module to IRC. Made greeting configurable. Fixed Trivia end-of-game leaderboard breaking. 2022-10-18 00:08:17 +02:00
ThePendulum 4ce3f77c63 Added IRC support (WIP). 2022-10-17 04:06:55 +02:00
ThePendulum f7a392e4e0 Fixed webcam event breaking mash listener. 2022-10-13 01:46:57 +02:00
ThePendulum bbe057eea2 Fixed kill command not working in PM. 2022-09-24 17:52:13 +02:00
ThePendulum fb88ded822 Retrying on connection failure. 2022-09-19 16:17:23 +02:00
ThePendulum 802639d830 Including stack trace in error log. 2022-07-15 17:49:01 +02:00
ThePendulum 91c99428ff Showing game leaderboard when Trivia game is stopped. 2022-07-15 17:46:12 +02:00
ThePendulum 6bc1048a90 Fixed being able to score multiple points per round in Trivia timeout mode. 2022-01-10 23:42:17 +01:00
ThePendulum 1f98681693 Passing points to onMessage, fixes NaN points. 2022-01-08 00:26:01 +01:00
ThePendulum 1dc0565586 Preventing correct answer feedback in timeout-mode Trivia when game is already aborted. 2022-01-07 23:39:46 +01:00
ThePendulum 5adb55692f Added whisper option. Whispering answer feedback in Trivia timeout mode, added command help. 2022-01-07 22:52:44 +01:00
ThePendulum e87e6d47f9 Reauthenticating for every connect attempt to ensure session is still valid. 2022-01-06 23:55:41 +01:00
ThePendulum e614cd4b1c Checking message user exists before checking ID in Trivia. 2021-11-29 18:44:44 +01:00
ThePendulum d98c4c12fa Added definitions to wordmash hints, listening broadly for wordmash answers. 2021-11-18 01:14:35 +01:00
ThePendulum a0c35bd613 Added kill module to repo. 2021-11-16 19:30:07 +01:00
ThePendulum 2c0966754b Moved kill comand to game module, expanded ecosystem file. 2021-11-16 19:23:51 +01:00
ThePendulum f455635e0a Added kill command and PM2 ecosystem file with restart delay. 2021-11-16 19:10:58 +01:00
ThePendulum 9c5bcbdd22 Stripping off @-prefix from points username. 2021-11-16 00:40:02 +01:00
ThePendulum 60c6f84702 Fixed playing a word without ongoing mash crashing bot. 2021-11-16 00:12:55 +01:00