3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-28 13:42:33 +01:00
Commit Graph

98 Commits

Author SHA1 Message Date
Pragmatic Software
40aa37bc7c
Plugin/Wordle: Wordle improvements
- refactor `wordlists` into structure with more details
  - added `name` field for language names
  - added `prompt` field for localized "Guess the word!" prompt
  - added `supp` field for supplemental wordlists
    (used to add words to list for guessing, e.g. urban with insane supplement
    allows initial word selection from urban list and then adds words from
    insane list for more options for guessing)
  - moved accents into added `accents` field
  - added `min_length` and `max_length` fields for lists that are different
    from default lengths
- misc minor adjustments
2024-04-29 03:15:05 -07:00
Pragmatic Software
5d3f188a09
Multiple bugfixes
* obtain bot nick from connection details instead of registry where appropriate

* irc.random_nick works again

* record own hostmask when connecting

* fix web-paste truncation by subtracting length of own hostmask from message length

* set irc.max_msg_len back to 510

* updated IRC numeric 378 to whoishost

* add sprunge.us to WebPaste
2024-04-07 20:55:04 -07:00
Pragmatic Software
94b7706358
Plugin/Wordle: add Urban Dictionary words (filtered to >100 thumbs-up, no excessive consecutive letters, etc) 2024-04-07 17:20:59 -07:00
Pragmatic Software
5c185486e8
Plugin/Wordle: removed unidecode normalization; added Finnish 2024-03-17 21:08:50 -07:00
Pragmatic Software
51fb92bc39
Plugin/Wordle: add Polish wordlist 2024-03-17 18:39:09 -07:00
Pragmatic Software
753773f06b
Plugin/Wordle: add accented words and German nouns
Accented words will be unidecoded to Latin letters so letter list remains A-Z.

German words will include proper nouns since I had no easy way to distinguish
them from regular nouns.
2024-03-16 17:29:09 -07:00
Pragmatic Software
348465b034
data/commands: add preserve_whitespace to wordle
Plugin/Wordle: remove debug message
2024-03-16 16:31:29 -07:00
Pragmatic Software
bde06990fe
Plugin/Wordle: colorize ouput and add wordlists 2024-03-16 16:14:07 -07:00
Pragmatic Software
5d3507421e
Plugin/Wordle: fix not detecting duplicate letters 2024-03-09 20:29:25 -08:00
Pragmatic Software
26a2b36122
Plugin/UrlTitles: improve logic of show_url_titles 2024-03-09 19:37:17 -08:00
Pragmatic Software
ca7670da3d
Plugin/Wordle: add letters subcommand to display good/unknown letters 2024-03-09 15:42:59 -08:00
Pragmatic Software
fa29212bc3
Plugin/Wordle: add ability to start custom Wordles 2024-03-07 15:59:46 -08:00
Pragmatic Software
e251ccb7a1
Plugin/Wordle: misc improvements:
* remove initial "? ? ? ? ?" text after first guess
* show count of guesses when solved
* remove "Wordle: " text
2024-03-07 10:20:53 -08:00
Pragmatic Software
d8a67ae0c5
Plugin/Wordle: silence uninitialized warning 2024-03-07 09:09:59 -08:00
Pragmatic Software
440a72c71e
Plugin/Wordle: minor refactor 2024-03-07 08:59:41 -08:00
Pragmatic Software
435faaa18c
Add Wordle plugin; update games section of README 2024-03-07 03:17:07 -08:00
Pragmatic Software
7d3cd3f215
Plugin/Spinach: fix subroutine signatures 2024-03-06 15:07:09 -08:00
Pragmatic Software
1cb6a114b8
Plugin/Battleship: fix bomb input constraints
Players who have been removed or have lost can no longer attack.

Fix attack range checks.
2024-03-05 22:00:55 -08:00
Pragmatic Software
4b5e3d0d41
Plugin/Battleship: fix show_battlefield() sub signature 2024-03-05 21:01:32 -08:00
Pragmatic Software
d4880854db
Plugin/WordMorph: add search subcommand to find words by regex 2024-02-22 18:56:52 -08:00
Pragmatic Software
eb5b1540d5
Plugins/WordMorph: custom optionally accepts number of steps instead of second word 2024-01-26 19:01:42 -08:00
Pragmatic Software
7b69980eff
Plugin/Plang: update output_value() to accept scope argument 2023-11-09 20:42:20 -08:00
Pragmatic Software
451c6ace2e
Plugin/Connect4: make send_message() delay argument optional 2023-09-28 13:28:23 -07:00
Pragmatic Software
d4cc3bf7f2 Plugin/ActionTrigger: handle QUIT triggers per-channel 2023-07-19 00:23:54 -07:00
Pragmatic Software
58ac29c4db Plugin/UrlTitles: add title to "ignored title" log message 2023-06-13 23:22:43 -07:00
Pragmatic Software
bfa08ee8d6 Plugin/UrlTitles: add logging to reveal why some URLs are disregarded 2023-06-13 23:19:21 -07:00
Pragmatic Software
15d7abf5ec Plugin/RunCommand: fix subroutine argument 2023-05-05 12:28:36 -07:00
Pragmatic Software
cfaa5cfd4e Fix inconsistent argument 2023-04-17 13:04:10 -07:00
Pragmatic Software
7ddb32ea16 Update core to use subroutine signatures 2023-04-13 21:04:12 -07:00
Pragmatic Software
c6db4b1e6b Update plugins to use subroutine signatures 2023-04-13 17:08:27 -07:00
Pragmatic Software
cd60ac9fc7 Update plugins to use subroutine signatures 2023-04-13 17:01:23 -07:00
Pragmatic Software
afd07bcd57 Bump minimum Perl version to 5.20 for signatures feature 2023-04-13 11:37:39 -07:00
Pragmatic Software
3180d11303 Plugin/Quotegrabs: polish Storage/SQLite.pm a bit 2023-04-13 11:21:30 -07:00
Pragmatic Software
cdbbf9c183 Plugin/Quotegrabs: minor clean-up of previous commit 2023-04-10 10:46:43 -07:00
Pragmatic Software
8bf243a9fd Plugin/Quotegrabs: rq now "shuffles" through quotes without repeats 2023-04-10 08:06:35 -07:00
Pragmatic Software
d8b19eff68 Plugin/Quotegrabs: rq now properly searches multi-grabs 2023-03-30 06:33:33 -07:00
Pragmatic Software
8d5b992b4c Update copyright 2023-02-20 21:31:52 -08:00
Pragmatic Software
6240aee0a0 Simplify arguments for IRC handlers 2023-01-31 05:44:34 -08:00
Pragmatic Software
d29ec9b6b9 Plugin/Wttr: add sunHour and uvIndex to -sun; decrease cache timeout from 1hr to 15m 2023-01-21 23:32:14 -08:00
Pragmatic Software
474cca04b8 Plugin/WordMorph: simplify word validation 2022-10-01 21:32:25 -07:00
Pragmatic Software
8721122c1f Plugin/WordMorph: improve sanity checks 2022-10-01 10:17:27 -07:00
Ckat
7bec49c4ed
Plugins/WordMorph: validate word length (#69) 2022-10-01 09:49:15 -07:00
Pragmatic Software
2cf09ca415 Plugin/WordMorph: minor refactor/clean-up 2022-09-08 07:19:43 -07:00
Pragmatic Software
219851ffaf Plugin/WordMorph: add neighbors subcommand; improve custom error messages 2022-09-07 17:52:48 -07:00
Pragmatic Software
0196e61b72 Plugin/WordMorph: add check command to check if a word exists 2022-09-06 08:02:07 -07:00
Pragmatic Software
adaf4e2ed3 Plugin/WordMorph: several improvements
- add 2880 variant words to wordlist
- morph generator skips words with same suffix
- default steps increased from 3 to 4
- default minimum word length increased from 4 to 5

Note that you can override default steps and word lengths via `start`.
2022-09-04 16:47:43 -07:00
Pragmatic Software
82edbd2a18 Plugin/WordMorph: minor refactoring/clean-up 2022-08-31 23:09:10 -07:00
Pragmatic Software
f71e08cf7f Plugin/WordMorph: minor refactoring/clean-up 2022-08-31 22:54:54 -07:00
Pragmatic Software
3c28dd046a Plugin/WordMorph: allow hinting from right-hand side 2022-08-31 18:27:31 -07:00
Pragmatic Software
bc02854d15 Update WordMorph
- Ensure length of each step is correct
- Add WordMorph to plugin_autoload
2022-08-26 12:47:44 -07:00