diff --git a/bot.php b/bot.php index ab7f678..83fa178 100755 --- a/bot.php +++ b/bot.php @@ -121,7 +121,9 @@ function check($classname, $command) { $mdescription .= $attachment->url; } */ - $mastodon->status_post($description); + $mastodon->createStatus($description, [ + 'language' => 'en' + ]); if (!$config['DRY_RUN']) { file_put_contents('.lastrun', time()); }