mirror of
https://github.com/pragma-/pbot.git
synced 2025-10-22 02:57:27 +02:00
Plugin/Wordle: fix Unicode in wordle info --json
This commit is contained in:
parent
828412e931
commit
fce337e695
@ -283,7 +283,8 @@ sub wordle($self, $context) {
|
||||
$h->{gaveup_by} = $self->{games}->{$channel}->{$gameid}->{givenup_by};
|
||||
}
|
||||
|
||||
return encode_json $h;
|
||||
my $encoder = JSON::XS->new;
|
||||
return $encoder->encode($h);
|
||||
}
|
||||
|
||||
my $started = concise ago time - $self->{games}->{$channel}->{$gameid}->{start_time};
|
||||
|
@ -25,7 +25,7 @@ use PBot::Imports;
|
||||
# These are set by the /misc/update_version script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 4914,
|
||||
BUILD_REVISION => 4915,
|
||||
BUILD_DATE => "2025-10-21",
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user