mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 03:49:29 +01:00
data/commands: add preserve_whitespace to wordle
Plugin/Wordle: remove debug message
This commit is contained in:
parent
bde06990fe
commit
348465b034
11
data/commands
vendored
11
data/commands
vendored
@ -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",
|
||||
|
@ -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) {
|
||||
|
@ -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",
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user