diff --git a/data/commands b/data/commands index 56e56df4..85387f08 100644 --- a/data/commands +++ b/data/commands @@ -1,6 +1,6 @@ { "$metadata$" : { - "name" : "Commands", + "name" : "Command metadata", "update_version" : 3503 }, "actiontrigger" : { @@ -529,6 +529,15 @@ "help" : "Queries Wolfram|Alpha Short Answers API", "requires_cap" : 0 }, + "wordle" : { + "help" : "Wordle game! Guess target word by submitting words for clues about which letters belong to the word!", + "preserve_whitespace" : "1", + "requires_cap" : null + }, + "wordmorph" : { + "help" : "Word Morph game! Solve a path between two words by changing one letter at a time: love > shot = love > lose > lost > loot > soot > shot.", + "requires_cap" : null + }, "wttr" : { "background-process" : "1", "help" : "Provides weather information via wttr.in", diff --git a/lib/PBot/Plugin/Wordle.pm b/lib/PBot/Plugin/Wordle.pm index 93b292f4..87a92715 100644 --- a/lib/PBot/Plugin/Wordle.pm +++ b/lib/PBot/Plugin/Wordle.pm @@ -212,7 +212,6 @@ sub wordle($self, $context) { } sub load_words($self, $length, $wordlist = 'default') { - print "datadir: $self->{datadir}; wordlist = $wordlist; path = $wordlists{$wordlist}\n"; $wordlist = $self->{datadir} . $wordlists{$wordlist}; if (not -e $wordlist) { diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index c99bd1bc..044e6f26 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,7 +25,7 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4718, + BUILD_REVISION => 4719, BUILD_DATE => "2024-03-16", };